mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 05:47:13 +00: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})
|
add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
|
||||||
endif ()
|
endif ()
|
||||||
set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
|
set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
|
||||||
list(APPEND LLVM_COMMON_DEPENDS ${target})
|
list(APPEND LLVM_COMMON_DEPENDS ${target} intrinsics_gen)
|
||||||
endif( TABLEGEN_OUTPUT )
|
endif( TABLEGEN_OUTPUT )
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
@ -49,8 +49,6 @@ add_llvm_target(ARMCodeGen
|
|||||||
Thumb2SizeReduction.cpp
|
Thumb2SizeReduction.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMARMCodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
# workaround for hanging compilation on MSVC9, 10
|
# workaround for hanging compilation on MSVC9, 10
|
||||||
if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
|
if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
|
||||||
set_property(
|
set_property(
|
||||||
|
@ -37,8 +37,6 @@ add_llvm_target(HexagonCodeGen
|
|||||||
HexagonCopyToCombine.cpp
|
HexagonCopyToCombine.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMHexagonCodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
add_subdirectory(MCTargetDesc)
|
add_subdirectory(MCTargetDesc)
|
||||||
|
@ -23,8 +23,6 @@ add_llvm_target(MSP430CodeGen
|
|||||||
MSP430MCInstLower.cpp
|
MSP430MCInstLower.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMMSP430CodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
add_subdirectory(MCTargetDesc)
|
add_subdirectory(MCTargetDesc)
|
||||||
|
@ -48,8 +48,6 @@ add_llvm_target(MipsCodeGen
|
|||||||
MipsSelectionDAGInfo.cpp
|
MipsSelectionDAGInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMMipsCodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
add_subdirectory(Disassembler)
|
add_subdirectory(Disassembler)
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
|
@ -30,8 +30,6 @@ set(NVPTXCodeGen_sources
|
|||||||
|
|
||||||
add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
|
add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
|
||||||
|
|
||||||
add_dependencies(LLVMNVPTXCodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
add_subdirectory(MCTargetDesc)
|
add_subdirectory(MCTargetDesc)
|
||||||
|
@ -34,8 +34,6 @@ add_llvm_target(PowerPCCodeGen
|
|||||||
PPCSelectionDAGInfo.cpp
|
PPCSelectionDAGInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMPowerPCCodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(AsmParser)
|
add_subdirectory(AsmParser)
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
|
@ -50,8 +50,6 @@ add_llvm_target(R600CodeGen
|
|||||||
SITypeRewriter.cpp
|
SITypeRewriter.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMR600CodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
add_subdirectory(MCTargetDesc)
|
add_subdirectory(MCTargetDesc)
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
add_llvm_library(LLVMR600Info
|
add_llvm_library(LLVMR600Info
|
||||||
AMDGPUTargetInfo.cpp
|
AMDGPUTargetInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMR600Info intrinsics_gen)
|
|
||||||
|
@ -25,7 +25,5 @@ add_llvm_target(SparcCodeGen
|
|||||||
SparcCodeEmitter.cpp
|
SparcCodeEmitter.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMSparcCodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
add_subdirectory(MCTargetDesc)
|
add_subdirectory(MCTargetDesc)
|
||||||
|
@ -53,8 +53,6 @@ endif()
|
|||||||
|
|
||||||
add_llvm_target(X86CodeGen ${sources})
|
add_llvm_target(X86CodeGen ${sources})
|
||||||
|
|
||||||
add_dependencies(LLVMX86CodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(AsmParser)
|
add_subdirectory(AsmParser)
|
||||||
add_subdirectory(Disassembler)
|
add_subdirectory(Disassembler)
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
|
@ -26,8 +26,6 @@ add_llvm_target(XCoreCodeGen
|
|||||||
XCoreSelectionDAGInfo.cpp
|
XCoreSelectionDAGInfo.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(LLVMXCoreCodeGen intrinsics_gen)
|
|
||||||
|
|
||||||
add_subdirectory(Disassembler)
|
add_subdirectory(Disassembler)
|
||||||
add_subdirectory(InstPrinter)
|
add_subdirectory(InstPrinter)
|
||||||
add_subdirectory(TargetInfo)
|
add_subdirectory(TargetInfo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user