Fix elision error (#121)
* Reorganize main function. * Follow review comments. * Emit constants are globals in Krnl and LLVM dialects. * Add missing dependencies. * Add dependency on ONNXOps.
This commit is contained in:
parent
4d8b855c17
commit
4a68597417
|
@ -14,6 +14,9 @@ target_include_directories(OMElideConstants
|
|||
PRIVATE ${ONNX_MLIR_SRC_ROOT} ${ONNX_MLIR_BIN_ROOT}
|
||||
${ONNF_MLIR_SRC_ROOT})
|
||||
|
||||
add_dependencies(OMElideConstants
|
||||
OMONNXOps)
|
||||
|
||||
set(LLVM_TARGET_DEFINITIONS ONNXRewrite.td)
|
||||
onnx_mlir_tablegen(ONNXRewrite.inc -gen-rewriters)
|
||||
add_public_tablegen_target(OMONNXRewriteIncGen)
|
||||
|
|
Loading…
Reference in New Issue