[llvm] ab46079 - [TableGen] Trying fix for PatternParser linker error
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 00:04:26 PST 2024
Author: pvanhout
Date: 2024-02-05T09:04:20+01:00
New Revision: ab460797f3af80bd262648d4dd306ef751d4e0f6
URL: https://github.com/llvm/llvm-project/commit/ab460797f3af80bd262648d4dd306ef751d4e0f6
DIFF: https://github.com/llvm/llvm-project/commit/ab460797f3af80bd262648d4dd306ef751d4e0f6.diff
LOG: [TableGen] Trying fix for PatternParser linker error
There is an implicit dependency here and we can't call CodeGenIntrinsics.cpp functions from PatternParser.cpp reliably, so some build bots were failing.
Try to add LLVMTableGenCommon to the list of source files to see if it fixes it, if it doesn't , I'll revert.
Added:
Modified:
llvm/utils/TableGen/GlobalISel/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/GlobalISel/CMakeLists.txt b/llvm/utils/TableGen/GlobalISel/CMakeLists.txt
index e0cf7fa962522..811f78645c564 100644
--- a/llvm/utils/TableGen/GlobalISel/CMakeLists.txt
+++ b/llvm/utils/TableGen/GlobalISel/CMakeLists.txt
@@ -10,6 +10,7 @@ add_llvm_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
MatchDataInfo.cpp
PatternParser.cpp
Patterns.cpp
+ $<TARGET_OBJECTS:obj.LLVMTableGenCommon>
DEPENDS
vt_gen
More information about the llvm-commits
mailing list