[PATCH] D11901: [TTI] Add a hook for specifying per-target defaults for Interleaved Accesses

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 05:50:46 PDT 2015


rengolin added a subscriber: rengolin.
rengolin added a comment.

Hi Silviu,

Do you plan to enable this for ARM/AArch64 soon?


================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:3886
@@ +3885,3 @@
+  // If an override option has been passed in for interleaved accesses, use it.
+  if (EnableInterleavedMemAccesses.getNumOccurrences() > 0)
+    UseInterleaved = EnableInterleavedMemAccesses;
----------------
Why the use of getNumOccurrences?


http://reviews.llvm.org/D11901





More information about the llvm-commits mailing list