[PATCH] D23908: LSV: Always try to adjust the alloca alignment
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 14:05:41 PDT 2016
asbirlea added inline comments.
================
Comment at: lib/Transforms/Vectorize/LoadStoreVectorizer.cpp:822
@@ -824,1 +821,3 @@
+ // Even if the target supports unaligned access of the type, it still may be
+ // better to adjust the alignment.
if (AllocaInst *AI = canAdjustAllocaAlignment(S0->getPointerOperand(),
----------------
If the target does not support unaligned access of the type, the condition below may exit without vectorizing, but after having changed the alignment for the alloca.
Is this the intended behavior?
https://reviews.llvm.org/D23908
More information about the llvm-commits
mailing list