Skip to content

Commit 621de6a

Browse files
committed
Remove unnecessary implicitTrunc use
1 parent 5e705e9 commit 621de6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,8 +1284,7 @@ LogicalResult spirv::Deserializer::processConstant(ArrayRef<uint32_t> operands,
12841284
uint32_t word1;
12851285
uint32_t word2;
12861286
} words = {operands[2], operands[3]};
1287-
value = APInt(64, llvm::bit_cast<uint64_t>(words), /*isSigned=*/true,
1288-
/*implicitTrunc=*/true);
1287+
value = APInt(64, llvm::bit_cast<uint64_t>(words), /*isSigned=*/true);
12891288
} else if (bitwidth <= 32) {
12901289
value = APInt(bitwidth, operands[2], /*isSigned=*/true,
12911290
/*implicitTrunc=*/true);

0 commit comments

Comments
 (0)