[llvm] [Scalarizer] Make `uadd_with_overflow` scalarizable (PR #126815)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 00:25:21 PST 2025


================
@@ -125,6 +125,7 @@ bool llvm::isTriviallyScalarizable(Intrinsic::ID ID,
   // https://github.com/llvm/llvm-project/issues/112408
   switch (ID) {
   case Intrinsic::frexp:
+  case Intrinsic::uadd_with_overflow:
----------------
RKSimon wrote:

Should the other arithmetic overflow intrinsics be handled at the same time?

https://github.com/llvm/llvm-project/pull/126815


More information about the llvm-commits mailing list