diff options
| author | River Riddle <riverriddle@google.com> | 2020-01-13 15:46:40 -0800 |
|---|---|---|
| committer | River Riddle <riverriddle@google.com> | 2020-01-13 15:51:28 -0800 |
| commit | c7748404920b3674e79059cbbe73b6041a214444 (patch) | |
| tree | e7dc6a063e4f67e6b7b79f6d2fc71b067a315fa2 /mlir/lib/Transforms/Utils/InliningUtils.cpp | |
| parent | 6fca03f0cae77c275870c4569bfeeb7ca0f561a6 (diff) | |
| download | bcm5719-llvm-c7748404920b3674e79059cbbe73b6041a214444.tar.gz bcm5719-llvm-c7748404920b3674e79059cbbe73b6041a214444.zip | |
[mlir] Update the CallGraph for nested symbol references, and simplify CallableOpInterface
Summary:
This enables tracking calls that cross symbol table boundaries. It also simplifies some of the implementation details of CallableOpInterface, i.e. there can only be one region within the callable operation.
Depends On D72042
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72043
Diffstat (limited to 'mlir/lib/Transforms/Utils/InliningUtils.cpp')
| -rw-r--r-- | mlir/lib/Transforms/Utils/InliningUtils.cpp | 2 |
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. |

