[PATCH] D54237: Constant folding and instcombine for saturating adds

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 10:27:18 PST 2018


craig.topper added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:2065
+            // Both adds together may add more than SignedMaxValue
+            // without saturing the final result.
+            break;
----------------
saturing->saturating


https://reviews.llvm.org/D54237





More information about the llvm-commits mailing list