[all-commits] [llvm/llvm-project] e23942: Add an option for unrolling loops up to a factor.
Lubomir Litchev via All-commits
all-commits at lists.llvm.org
Tue Sep 8 09:24:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e2394245eb28695d5eed5d7c015e99141993c723
https://github.com/llvm/llvm-project/commit/e2394245eb28695d5eed5d7c015e99141993c723
Author: Lubomir Litchev <Lubomir.Litchev at intel.com>
Date: 2020-09-08 (Tue, 08 Sep 2020)
Changed paths:
M mlir/include/mlir/Dialect/Affine/Passes.h
M mlir/include/mlir/Dialect/Affine/Passes.td
M mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
M mlir/lib/Transforms/Utils/LoopUtils.cpp
M mlir/test/Dialect/SCF/loop-unroll.mlir
M mlir/test/lib/Transforms/TestLoopUnrolling.cpp
Log Message:
-----------
Add an option for unrolling loops up to a factor.
Currently, there is no option to allow for unrolling a loop up to a specific factor (specified by the user).
The code for doing that is there and there are benefits when unrolling is done to smaller loops (smaller than the factor specified).
Reviewed By: bondhugula
Differential Revision: https://reviews.llvm.org/D87111
More information about the All-commits
mailing list