[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
Mon Dec 14 03:36:51 PST 2015


sbaranga added inline comments.

================
Comment at: lib/Transforms/InstCombine/InstCombineCompares.cpp:679
@@ +678,3 @@
+  for (Value *Val : Explored) {
+    for (Value *Use : Val->uses()) {
+
----------------
Yes, it does, I don't know how I missed it.


http://reviews.llvm.org/D15146





More information about the llvm-commits mailing list