From 2aaf978bd83e8a394b02c577effbd1c94e980205 Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Mon, 9 Dec 2024 19:33:07 -0500 Subject: [PATCH] [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 --- lib/Conversion/SCFToCalyx/SCFToCalyx.cpp | 3 ++- llvm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp b/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp index 6ef0da7e0a68..76a25fa08fbe 100644 --- a/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp +++ b/lib/Conversion/SCFToCalyx/SCFToCalyx.cpp @@ -1060,7 +1060,8 @@ static LogicalResult buildAllocOp(ComponentLoweringState &componentState, // value's precision handling. value = bit_cast(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) diff --git a/llvm b/llvm index 8193832fb988..3cc852ece438 160000 --- a/llvm +++ b/llvm @@ -1 +1 @@ -Subproject commit 8193832fb988e3df1e8e726634783805dca8d9b6 +Subproject commit 3cc852ece438a63e7b09d1c84a81d21598454e1a