[flang][tco] Remove unneeded dependencies

`tco` does not generate machine code, so it does not require (machine)
code-gen related dependencies.

Differential Revision: https://reviews.llvm.org/D118112
This commit is contained in:
Andrzej Warzynski 2022-01-25 09:42:35 +00:00
parent 4e5fce5848
commit 718562a469
2 changed files with 0 additions and 6 deletions

View File

@ -1,7 +1,3 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
)
add_flang_tool(tco tco.cpp)
llvm_update_compile_flags(tco)
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)

View File

@ -136,8 +136,6 @@ int main(int argc, char **argv) {
fir::support::registerMLIRPassesForFortranTools();
fir::registerOptCodeGenPasses();
fir::registerOptTransformPasses();
InitializeAllTargets();
mlir::registerAsmPrinterCLOptions();
mlir::registerMLIRContextCLOptions();
mlir::registerPassManagerCLOptions();
mlir::PassPipelineCLParser passPipe("", "Compiler passes to run");