[llvm] r364124 - Make GlobalISel depend on SelectionDAG after D63169
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 21 18:30:17 PDT 2019
Author: maskray
Date: Fri Jun 21 18:30:17 2019
New Revision: 364124
URL: http://llvm.org/viewvc/llvm-project?rev=364124&view=rev
Log:
Make GlobalISel depend on SelectionDAG after D63169
GlobalISel/IRTranslator.cpp now references SelectionDAG/FunctionLoweringInfo.cpp.
This fixes a link error in -DBUILD_SHARED_LIBS=on builds:
ld.lld: error: undefined symbol: llvm::FunctionLoweringInfo::clear()
>>> referenced by IRTranslator.cpp:2198 (../lib/CodeGen/GlobalISel/IRTranslator.cpp:2198)
>>> lib/CodeGen/GlobalISel/CMakeFiles/LLVMGlobalISel.dir/IRTranslator.cpp.o:(llvm::IRTranslator::finalizeFunction())
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt
Modified: llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt?rev=364124&r1=364123&r2=364124&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt Fri Jun 21 18:30:17 2019
@@ -18,4 +18,4 @@
type = Library
name = GlobalISel
parent = CodeGen
-required_libraries = Analysis CodeGen Core MC Support Target TransformUtils
+required_libraries = Analysis CodeGen Core MC SelectionDAG Support Target TransformUtils
More information about the llvm-commits
mailing list