[PATCH] D21935: Add TLI.allowsMisalignedMemoryAccesses to LoadStoreVectorizer

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 13:56:50 PDT 2016


arsenm added inline comments.

================
Comment at: include/llvm/Analysis/TargetTransformInfo.h:392
@@ +391,3 @@
+  /// \brief Indicate whether target allows misaligned memory accesses
+  bool allowsMisalignedMemoryAccesses(unsigned BitWidth) const;
+
----------------
arsenm wrote:
> This is missing a lot of parameters compared to the TLI version. It at least needs and address space and the alignment value
IsFast would be helpful too


http://reviews.llvm.org/D21935





More information about the llvm-commits mailing list