The SerializeToHsaco uses functions from ExecutionEngineUtils to set
up LLVM pass pipelines, but does not otherwise depend on the execution
engine (except indirectly via a dependency on IPO). This commit
removes the dependency on the execution engine to prevent
unnecessarily compilations.
Reviewed By: ThomasRaoux
Differential Revision: https://reviews.llvm.org/D138041
if (MLIR_ENABLE_ROCM_CONVERSIONS)
set(AMDGPU_LIBS
IRReader
+ IPO
linker
MCParser
AMDGPUAsmParser
target_link_libraries(MLIRGPUTransforms
PRIVATE
- MLIRExecutionEngine
MLIRROCDLToLLVMIRTranslation
)
endif()