[PATCH] D16226: Push isDereferenceableAndAlignedPointer down into isSafeToLoadUnconditionally

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 17:52:31 PST 2016


reames accepted this revision.
reames added a comment.
This revision is now accepted and ready to land.

LGTM w/requested test.


================
Comment at: test/Transforms/InstCombine/select.ll:1311
@@ +1310,3 @@
+  ret i32 %v
+}
+
----------------
Please add a test case that shows a argument which is not sufficiently dereferenceable.  AKA, a negative test.


http://reviews.llvm.org/D16226





More information about the llvm-commits mailing list