1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Revert "Make TableGenGlobalISel an object library"

This reverts commit 2c3cf62d4a26de85aab180bb43a579c913b17f3e.

Causes build failures on x86_64, will respond to commit thread with link errors.
This commit is contained in:
Philip Reames 2021-03-31 13:26:19 -07:00
parent 936867007c
commit 4739f740ea
3 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,6 @@ add_public_tablegen_target(AutomataTestTableGen)
add_llvm_unittest(TableGenTests add_llvm_unittest(TableGenTests
CodeExpanderTest.cpp CodeExpanderTest.cpp
AutomataTest.cpp AutomataTest.cpp
$<TARGET_OBJECTS:obj.LLVMTableGenGlobalISel>
) )
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../utils/TableGen) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../utils/TableGen)
target_link_libraries(TableGenTests PRIVATE LLVMTableGen) target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)

View File

@ -56,6 +56,6 @@ add_tablegen(llvm-tblgen LLVM
X86RecognizableInstr.cpp X86RecognizableInstr.cpp
WebAssemblyDisassemblerEmitter.cpp WebAssemblyDisassemblerEmitter.cpp
CTagsEmitter.cpp CTagsEmitter.cpp
$<TARGET_OBJECTS:obj.LLVMTableGenGlobalISel>
) )
target_link_libraries(llvm-tblgen PRIVATE LLVMTableGenGlobalISel)
set_target_properties(llvm-tblgen PROPERTIES FOLDER "Tablegenning") set_target_properties(llvm-tblgen PROPERTIES FOLDER "Tablegenning")

View File

@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS
TableGen TableGen
) )
add_llvm_library(LLVMTableGenGlobalISel OBJECT add_llvm_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
CodeExpander.cpp CodeExpander.cpp
GIMatchDag.cpp GIMatchDag.cpp
GIMatchDagEdge.cpp GIMatchDagEdge.cpp