summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LowerAffineApply.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Transforms/LowerAffineApply.cpp')
-rw-r--r--mlir/lib/Transforms/LowerAffineApply.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/LowerAffineApply.cpp b/mlir/lib/Transforms/LowerAffineApply.cpp
index 52146fdb5b7..747733de41e 100644
--- a/mlir/lib/Transforms/LowerAffineApply.cpp
+++ b/mlir/lib/Transforms/LowerAffineApply.cpp
@@ -52,7 +52,7 @@ PassResult LowerAffineApply::runOnMLFunction(Function *f) {
}
PassResult LowerAffineApply::runOnCFGFunction(Function *f) {
- for (BasicBlock &bb : *f) {
+ for (Block &bb : *f) {
// Handle iterators with care because we erase in the same loop.
// In particular, step to the next element before erasing the current one.
for (auto it = bb.begin(); it != bb.end();) {
OpenPOWER on IntegriCloud