forked from OSchip/llvm-project
[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:
parent
4e5fce5848
commit
718562a469
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue