[PATCH] D40039: [CVP] Remove some {s|u}sub.with.overflow checks.
Joel Galenson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 09:56:29 PST 2017
jgalenson created this revision.
This uses ConstantRange::makeGuaranteedNoWrapRegion's newly-added handling for subtraction to allow CVP to remove some subtraction overflow checks.
https://reviews.llvm.org/D40039
Files:
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
test/Transforms/CorrelatedValuePropagation/overflows.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40039.122865.patch
Type: text/x-patch
Size: 4831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171114/e6d25326/attachment.bin>
More information about the llvm-commits
mailing list