[llvm] [SystemZ] Allow forming overflow op for i128 (PR #153557)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 05:43:51 PDT 2025


================
@@ -523,7 +523,7 @@ class SystemZTargetLowering : public TargetLowering {
                             bool MathUsed) const override {
     // Form add and sub with overflow intrinsics regardless of any extra
     // users of the math result.
-    return VT == MVT::i32 || VT == MVT::i64;
+    return VT == MVT::i32 || VT == MVT::i64 || VT == MVT::i128;
----------------
uweigand wrote:

Huh, OK.  That looks good then.  Thanks!

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


More information about the llvm-commits mailing list