summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopTiling.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-03-27 08:55:17 -0700
committerjpienaar <jpienaar@google.com>2019-03-29 17:44:56 -0700
commit9c085406904780d25673ad213ac53a4c6e1558c0 (patch)
tree0072f8fd28a49ee11bbf0a849982727967952182 /mlir/lib/Transforms/LoopTiling.cpp
parent04b925f1b8af88228991f23b0950a2b530170962 (diff)
downloadbcm5719-llvm-9c085406904780d25673ad213ac53a4c6e1558c0.tar.gz
bcm5719-llvm-9c085406904780d25673ad213ac53a4c6e1558c0.zip
Replace usages of Instruction with Operation in the /Analysis directory.
PiperOrigin-RevId: 240569775
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
-rw-r--r--mlir/lib/Transforms/LoopTiling.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mlir/lib/Transforms/LoopTiling.cpp b/mlir/lib/Transforms/LoopTiling.cpp
index c235190b4b7..f99b602cf0b 100644
--- a/mlir/lib/Transforms/LoopTiling.cpp
+++ b/mlir/lib/Transforms/LoopTiling.cpp
@@ -182,8 +182,7 @@ LogicalResult mlir::tileCodeGen(MutableArrayRef<AffineForOp> band,
// Check if the supplied for inst's are all successively nested.
for (unsigned i = 1, e = band.size(); i < e; i++) {
- assert(band[i].getOperation()->getParentInst() ==
- band[i - 1].getOperation());
+ assert(band[i].getOperation()->getParentOp() == band[i - 1].getOperation());
}
auto origLoops = band;
OpenPOWER on IntegriCloud