summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/CSE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Transforms/CSE.cpp')
-rw-r--r--mlir/lib/Transforms/CSE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/CSE.cpp b/mlir/lib/Transforms/CSE.cpp
index 05760f18761..ee0a10b2f5d 100644
--- a/mlir/lib/Transforms/CSE.cpp
+++ b/mlir/lib/Transforms/CSE.cpp
@@ -226,7 +226,7 @@ void CSE::simplifyRegion(DominanceInfo &domInfo, Region &region) {
}
void CSE::runOnFunction() {
- simplifyRegion(getAnalysis<DominanceInfo>(), getFunction()->getBody());
+ simplifyRegion(getAnalysis<DominanceInfo>(), getFunction().getBody());
// If no operations were erased, then we mark all analyses as preserved.
if (opsToErase.empty()) {
OpenPOWER on IntegriCloud