summaryrefslogtreecommitdiffstats
path: root/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/test/lib/Transforms/TestLoopParametricTiling.cpp')
-rw-r--r--mlir/test/lib/Transforms/TestLoopParametricTiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp b/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp
index 0f13e5ee2fa..d30eacc044d 100644
--- a/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp
+++ b/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp
@@ -45,7 +45,7 @@ public:
FuncOp func = getFunction();
func.walk<loop::ForOp>([this](loop::ForOp op) {
// Ignore nested loops.
- if (op.getContainingRegion()->getParentOfType<loop::ForOp>())
+ if (op.getParentRegion()->getParentOfType<loop::ForOp>())
return;
extractFixedOuterLoops(op, sizes);
});
OpenPOWER on IntegriCloud