[PATCH] D24681: Optimize patterns of vectorized interleaved memory accesses for X86.

Farhana Aleen via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 10:39:51 PDT 2016


Farhana added inline comments.

================
Comment at: lib/Target/X86/X86InterleavedAccess.cpp:92
@@ +91,3 @@
+  for (unsigned Part = 0; Part < Factor; Part++) {
+    Value *NewBasePtr = Builder.CreateGEP(
+        nullptr, ScalarBasePtr, Builder.getInt32(Part * Factor));
----------------
Yes, it is hardcoded currently, but I have a plan to generalize this part with any number of factors in the next change-set. So, keeping it as it is will require smaller changes in the next one.


https://reviews.llvm.org/D24681





More information about the llvm-commits mailing list