[PATCH] IR: Fold away compares between GV GEPs and GVs
David Majnemer
david.majnemer at gmail.com
Fri Jun 20 17:32:14 PDT 2014
Hi nlewycky,
A GEP of a non-weak global variable will not be equivalent to another
non-weak global variable or a GEP of such a variable.
http://reviews.llvm.org/D4238
Files:
lib/IR/ConstantFold.cpp
test/Other/constant-fold-gep.ll
test/Transforms/InstCombine/2010-03-03-ExtElim.ll
test/Transforms/InstCombine/pr20079.ll
test/Transforms/LoopVectorize/if-conversion.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4238.10712.patch
Type: text/x-patch
Size: 6679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140621/9124f783/attachment.bin>
More information about the llvm-commits
mailing list