[PATCH] D21935: Add TLI.allowsMisalignedMemoryAccesses to LoadStoreVectorizer

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 13:41:52 PDT 2016

jlebar added inline comments.

Comment at: include/llvm/Analysis/TargetTransformInfo.h:391
@@ -390,1 +390,3 @@
+  /// \brief Indicate whether target allows misaligned memory accesses
+  bool allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace = 0,
(This suggestion may be wrong -- the callee may assume that the memory access is misaligned, even if Alignment would indicate it's not.  I dunno.)


More information about the llvm-commits mailing list