Skip to content

Commit

Permalink
[llvm] Revert LLVM de-bump (#7962)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
seldridge authored Dec 10, 2024
1 parent 6d894b9 commit 2aaf978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Conversion/SCFToCalyx/SCFToCalyx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,8 @@ static LogicalResult buildAllocOp(ComponentLoweringState &componentState,
// value's precision handling.
value = bit_cast<double>(bitValue);
} else {
APInt apInt(/*numBits=*/elmTyBitWidth, bitValue, isSigned);
APInt apInt(/*numBits=*/elmTyBitWidth, bitValue, isSigned,
/*implicitTrunc=*/true);
// The conditional ternary operation will cause the `value` to interpret
// the underlying data as unsigned regardless `isSigned` or not.
if (isSigned)
Expand Down
2 changes: 1 addition & 1 deletion llvm
Submodule llvm updated 8433 files

0 comments on commit 2aaf978

Please sign in to comment.