[PATCH] D18685: [IndVars] Eliminate op.with.overflow when possible
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 1 00:06:40 PDT 2016
sanjoy created this revision.
sanjoy added reviewers: atrick, regehr.
sanjoy added a subscriber: llvm-commits.
Herald added subscribers: mcrosier, sanjoy.
If we can prove that an op.with.overflow intrinsic does not overflow, we
can get rid of the intrinsic, and replace it with non-wrapping
arithmetic.
http://reviews.llvm.org/D18685
Files:
lib/Transforms/Utils/SimplifyIndVar.cpp
test/Transforms/IndVarSimplify/overflow-intrinsics.ll
test/Transforms/IndVarSimplify/overflowcheck.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18685.52331.patch
Type: text/x-patch
Size: 9848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160401/08a2b830/attachment-0001.bin>
More information about the llvm-commits
mailing list