[PATCH] D48763: [SimplifyIndVar] Canonicalize comparisons to unsigned while eliminating truncs
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 29 04:21:34 PDT 2018
mkazantsev created this revision.
mkazantsev added reviewers: reames, greened, sanjoy.
This is a follow-up for the patch https://reviews.llvm.org/rL335020. When we replace compares against
trunc with compares against wide IV, we can also replace signed predicates with
unsigned where it is legal.
https://reviews.llvm.org/D48763
Files:
lib/Transforms/Utils/SimplifyIndVar.cpp
test/Transforms/IndVarSimplify/eliminate-trunc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48763.153467.patch
Type: text/x-patch
Size: 4966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/6e5ce7d9/attachment.bin>
More information about the llvm-commits
mailing list