[PATCH] D39483: [CVP] Remove some {s|u}add.with.overflow checks.

Joel Galenson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 09:19:34 PST 2017


jgalenson added inline comments.


================
Comment at: lib/Transforms/Scalar/CorrelatedValuePropagation.cpp:364
+
+static void processOverflowIntrinsic(IntrinsicInst *II) {
+  Value *NewOp = nullptr;
----------------
sanjoy wrote:
> `process` is too vague -- how about `eraseOverflowIntrinsic`?
I actually think process is better here because it mirrors all the other functions in this file (processCallSite, processSRem, etc).


https://reviews.llvm.org/D39483





More information about the llvm-commits mailing list