Skip to content

Commit 2aaf978

Browse files
authored
[llvm] Revert LLVM de-bump (#7962)
Revert an LLVM de-bump accidentally introduced in an unrelated change [[1]]. This effectively re-applies the original bump [[2]]. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
1 parent 6d894b9 commit 2aaf978

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/Conversion/SCFToCalyx/SCFToCalyx.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,8 @@ static LogicalResult buildAllocOp(ComponentLoweringState &componentState,
10601060
// value's precision handling.
10611061
value = bit_cast<double>(bitValue);
10621062
} else {
1063-
APInt apInt(/*numBits=*/elmTyBitWidth, bitValue, isSigned);
1063+
APInt apInt(/*numBits=*/elmTyBitWidth, bitValue, isSigned,
1064+
/*implicitTrunc=*/true);
10641065
// The conditional ternary operation will cause the `value` to interpret
10651066
// the underlying data as unsigned regardless `isSigned` or not.
10661067
if (isSigned)

llvm

Submodule llvm updated 8433 files

0 commit comments

Comments
 (0)