mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[CMake] Let add_public_tablegen_target() provide intrinsics_gen, too.
I think, in principle, intrinsics_gen may be added explicitly. That said, it can be added incidentally, since each target already has dependencies to llvm-tblgen. Almost all source files depend on both CommonTaleGen and intrinsics_gen. Explicit add_dependencies() have been pruned under lib/Target. llvm-svn: 195929
This commit is contained in:
parent
6f84abe1df
commit
9b851e876f
@ -54,7 +54,7 @@ macro(add_public_tablegen_target target)
|
||||
add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
|
||||
endif ()
|
||||
set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
|
||||
list(APPEND LLVM_COMMON_DEPENDS ${target})
|
||||
list(APPEND LLVM_COMMON_DEPENDS ${target} intrinsics_gen)
|
||||
endif( TABLEGEN_OUTPUT )
|
||||
endmacro()
|
||||
|
||||
|
@ -49,8 +49,6 @@ add_llvm_target(ARMCodeGen
|
||||
Thumb2SizeReduction.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMARMCodeGen intrinsics_gen)
|
||||
|
||||
# workaround for hanging compilation on MSVC9, 10
|
||||
if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
|
||||
set_property(
|
||||
|
@ -37,8 +37,6 @@ add_llvm_target(HexagonCodeGen
|
||||
HexagonCopyToCombine.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMHexagonCodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -23,8 +23,6 @@ add_llvm_target(MSP430CodeGen
|
||||
MSP430MCInstLower.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMSP430CodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -48,8 +48,6 @@ add_llvm_target(MipsCodeGen
|
||||
MipsSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMMipsCodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(Disassembler)
|
||||
add_subdirectory(TargetInfo)
|
||||
|
@ -30,8 +30,6 @@ set(NVPTXCodeGen_sources
|
||||
|
||||
add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
|
||||
|
||||
add_dependencies(LLVMNVPTXCodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -34,8 +34,6 @@ add_llvm_target(PowerPCCodeGen
|
||||
PPCSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(TargetInfo)
|
||||
|
@ -50,8 +50,6 @@ add_llvm_target(R600CodeGen
|
||||
SITypeRewriter.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMR600CodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -1,5 +1,3 @@
|
||||
add_llvm_library(LLVMR600Info
|
||||
AMDGPUTargetInfo.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMR600Info intrinsics_gen)
|
||||
|
@ -25,7 +25,5 @@ add_llvm_target(SparcCodeGen
|
||||
SparcCodeEmitter.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMSparcCodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(TargetInfo)
|
||||
add_subdirectory(MCTargetDesc)
|
||||
|
@ -53,8 +53,6 @@ endif()
|
||||
|
||||
add_llvm_target(X86CodeGen ${sources})
|
||||
|
||||
add_dependencies(LLVMX86CodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(AsmParser)
|
||||
add_subdirectory(Disassembler)
|
||||
add_subdirectory(InstPrinter)
|
||||
|
@ -26,8 +26,6 @@ add_llvm_target(XCoreCodeGen
|
||||
XCoreSelectionDAGInfo.cpp
|
||||
)
|
||||
|
||||
add_dependencies(LLVMXCoreCodeGen intrinsics_gen)
|
||||
|
||||
add_subdirectory(Disassembler)
|
||||
add_subdirectory(InstPrinter)
|
||||
add_subdirectory(TargetInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user