[PATCH] D20696: LoadStoreVectorizer: Use AA metadata

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 14:18:49 PDT 2016


jlebar added a subscriber: jlebar.
jlebar accepted this revision.
jlebar added a reviewer: jlebar.
This revision is now accepted and ready to land.

================
Comment at: lib/Transforms/Vectorize/LoadStoreVectorizer.cpp:431
@@ -436,1 +430,3 @@
+          Value *Ptr0 = isa<LoadInst>(M0) ? M0->getOperand(0) : M0->getOperand(1);
+          Value *Ptr1 = isa<LoadInst>(M1) ? M1->getOperand(0) : M1->getOperand(1);
           dbgs() << "LSV: Found alias.\n"
----------------
getPointerOperand?


http://reviews.llvm.org/D20696





More information about the llvm-commits mailing list