summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/Utils/InliningUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Transforms/Utils/InliningUtils.cpp')
-rw-r--r--mlir/lib/Transforms/Utils/InliningUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/Utils/InliningUtils.cpp b/mlir/lib/Transforms/Utils/InliningUtils.cpp
index 64591209dce..e91bdb71e9e 100644
--- a/mlir/lib/Transforms/Utils/InliningUtils.cpp
+++ b/mlir/lib/Transforms/Utils/InliningUtils.cpp
@@ -284,7 +284,7 @@ LogicalResult mlir::inlineCall(InlinerInterface &interface,
if (src->empty())
return failure();
auto *entryBlock = &src->front();
- ArrayRef<Type> callableResultTypes = callable.getCallableResults(src);
+ ArrayRef<Type> callableResultTypes = callable.getCallableResults();
// Make sure that the number of arguments and results matchup between the call
// and the region.
OpenPOWER on IntegriCloud