[PATCH] D61030: [PassManagerBuilder] Add option for interleaved loops, for loop vectorize.

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 06:22:43 PDT 2019


rengolin added inline comments.


================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:674
 
-  MPM.add(createLoopVectorizePass(DisableUnrollLoops, !LoopVectorize));
+  MPM.add(createLoopVectorizePass(!LoopsInterleaved, !LoopVectorize));
 
----------------
I may not have understood the problem, but to keep the previous behaviour, souldn't this be:
    MPM.add(createLoopVectorizePass(DisableUnrollLoops || !LoopsInterleaved, !LoopVectorize));


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61030/new/

https://reviews.llvm.org/D61030





More information about the llvm-commits mailing list