[PATCH] D15146: [InstCombine] Look through PHIs, GEPs, IntToPtrs and PtrToInts to expose more constants when comparing GEPs
silviu.baranga@arm.com via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 07:48:43 PST 2015
sbaranga updated this revision to Diff 42523.
sbaranga added a comment.
Merged the traversal algorithms for the from canRewriteAsOffsetGEP and rewriteAsOffsetGEP.
Now the order in recorded in rewriteAsOffsetGEP.
Performed several other small changes requested during review.
http://reviews.llvm.org/D15146
Files:
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/indexed-gep-compares.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15146.42523.patch
Type: text/x-patch
Size: 16268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151211/ee8077e4/attachment.bin>
More information about the llvm-commits
mailing list