summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopTiling.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-02-06 11:58:03 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 16:17:59 -0700
commit90d10b4e00cc6397a03ddc981b7be8bab43a9f38 (patch)
treed7e05dace26da1d29ba08dbb279701d4c9ae3250 /mlir/lib/Transforms/LoopTiling.cpp
parent905d84851ddfa9463f872a215a6cb0ad3b7c3894 (diff)
downloadbcm5719-llvm-90d10b4e00cc6397a03ddc981b7be8bab43a9f38.tar.gz
bcm5719-llvm-90d10b4e00cc6397a03ddc981b7be8bab43a9f38.zip
NFC: Rename the 'for' operation in the AffineOps dialect to 'affine.for'. The is the second step to adding a namespace to the AffineOps dialect.
PiperOrigin-RevId: 232717775
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
-rw-r--r--mlir/lib/Transforms/LoopTiling.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/LoopTiling.cpp b/mlir/lib/Transforms/LoopTiling.cpp
index 368a1dac1df..f00c2e767e6 100644
--- a/mlir/lib/Transforms/LoopTiling.cpp
+++ b/mlir/lib/Transforms/LoopTiling.cpp
@@ -231,7 +231,8 @@ UtilResult mlir::tileCodeGen(MutableArrayRef<OpPointer<AffineForOp>> band,
static void
getTileableBands(Function *f,
std::vector<SmallVector<OpPointer<AffineForOp>, 6>> *bands) {
- // Get maximal perfect nest of 'for' insts starting from root (inclusive).
+ // Get maximal perfect nest of 'affine.for' insts starting from root
+ // (inclusive).
auto getMaximalPerfectLoopNest = [&](OpPointer<AffineForOp> root) {
SmallVector<OpPointer<AffineForOp>, 6> band;
OpPointer<AffineForOp> currInst = root;
OpenPOWER on IntegriCloud