summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopTiling.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-03-25 10:14:34 -0700
committerjpienaar <jpienaar@google.com>2019-03-29 17:39:03 -0700
commit832567b3799f763ec3ba9480e1628c5a3de7fa6e (patch)
treee0b890af7d7f1c309399ba282ac2bace75a0b21f /mlir/lib/Transforms/LoopTiling.cpp
parent8f5fa566239f88f5b0f3435103b3dc028b0a672a (diff)
downloadbcm5719-llvm-832567b3799f763ec3ba9480e1628c5a3de7fa6e.tar.gz
bcm5719-llvm-832567b3799f763ec3ba9480e1628c5a3de7fa6e.zip
NFC: Rename the 'for' operation in the AffineOps dialect to 'affine.for' and set the namespace of the AffineOps dialect to 'affine'.
PiperOrigin-RevId: 240165792
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 0b629531df0..314864d3f3c 100644
--- a/mlir/lib/Transforms/LoopTiling.cpp
+++ b/mlir/lib/Transforms/LoopTiling.cpp
@@ -258,7 +258,8 @@ LogicalResult mlir::tileCodeGen(MutableArrayRef<AffineForOp> band,
// Returns all maximal outermost perfect loop nests to tile.
static void getTileableBands(Function *f,
std::vector<SmallVector<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 = [&](AffineForOp root) {
SmallVector<AffineForOp, 6> band;
AffineForOp currInst = root;
OpenPOWER on IntegriCloud