[PATCH] D75240: Add a pass that specializes parallel loops for easier unrolling and vectorization

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 08:38:40 PST 2020


rriddle added inline comments.


================
Comment at: mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopPreparationForVectorization.cpp:28
+/// version can be fully unrolled and vectorized.
+void specializeLoopForUnrolling(ParallelOp op) {
+  SmallVector<Value, 2> constantIndices;
----------------
Please only use anonymous namespace for classes. Functions should be in the global scope and marked as static.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75240





More information about the llvm-commits mailing list