Add CMake dep to Func dialect (#1196)

The Torch dialect has an include to `mlir/Dialect/Func/IR/FuncOps.h` and
should therefore have a CMake dependency to the MLIRFuncDialect.
Otherwise, the build can fail since it may occur that
`mlir/Dialect/Func/IR/FuncOps.h.inc` isn't generated yet.
pull/1199/head
Marius Brehler 2022-08-09 15:54:30 +02:00 committed by GitHub
parent f83a905856
commit 202076c6e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ add_mlir_library(TorchMLIRTorchDialect
Core
LINK_LIBS PUBLIC
MLIRFuncDialect
MLIRIR
MLIRSupport
MLIRControlFlowInterfaces