summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Support
diff options
context:
space:
mode:
authorRiver Riddle <riverriddle@google.com>2019-09-23 11:36:37 -0700
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-09-23 11:37:06 -0700
commit8965011fadf24f4986b0d9c00fc6af0f2b13ee28 (patch)
tree77890172c3a2fa84a569a9637fefcb6003201c0c /mlir/lib/Support
parentc61991ef01c34aa2d09fe6d16aead943b7fba2fa (diff)
downloadbcm5719-llvm-8965011fadf24f4986b0d9c00fc6af0f2b13ee28.tar.gz
bcm5719-llvm-8965011fadf24f4986b0d9c00fc6af0f2b13ee28.zip
Add interfaces for call-like/callable operations.
These two operation interfaces will be used in a followup to support building a callgraph: * CallOpInterface - Operations providing this interface are call-like, and have a "call" target. A call target may be a symbol reference, via SymbolRefAttr, or a SSA value. * CallableOpInterface - Operations providing this interfaces define destinations to call-like operations, e.g. FuncOp. These operations may define any number of callable regions. PiperOrigin-RevId: 270723300
Diffstat (limited to 'mlir/lib/Support')
-rw-r--r--mlir/lib/Support/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Support/CMakeLists.txt b/mlir/lib/Support/CMakeLists.txt
index a927fc681c4..8f631626be3 100644
--- a/mlir/lib/Support/CMakeLists.txt
+++ b/mlir/lib/Support/CMakeLists.txt
@@ -21,7 +21,7 @@ add_llvm_library(MLIROptMain
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Support
)
-target_link_libraries(MLIROptMain LLVMSupport)
+target_link_libraries(MLIROptMain LLVMSupport MLIRPass)
add_llvm_library(MLIRTranslateClParser
TranslateClParser.cpp
OpenPOWER on IntegriCloud