[PATCH] D13953: Preserve load alignment and dereferenceable metadata during some transformations

hfinkel@anl.gov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 17:01:09 PDT 2015


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

One comment below, otherwise, this LGTM.


================
Comment at: lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:376
@@ -375,1 +375,3 @@
       break;
+    case LLVMContext::MD_align:
+    case LLVMContext::MD_dereferenceable:
----------------
Move these up to combine with nonnull handling.


http://reviews.llvm.org/D13953





More information about the llvm-commits mailing list