[PATCH] D21935: Add TLI.allowsMisalignedMemoryAccesses to LoadStoreVectorizer
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 15:16:11 PDT 2016
arsenm added inline comments.
================
Comment at: lib/Transforms/Vectorize/LoadStoreVectorizer.cpp:830
@@ +829,3 @@
+ // TODO: Remove TargetBaseAlign
+ if (allowsMisalignedAndIsFast(SzInBytes, AS, Alignment) == false &&
+ (Alignment % SzInBytes) != 0 && (Alignment % TargetBaseAlign) != 0) {
----------------
! instead of == false
http://reviews.llvm.org/D21935
More information about the llvm-commits
mailing list