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())

llvm-svn: 364124
This commit is contained in:
Fangrui Song 2019-06-22 01:30:17 +00:00
parent fc84925208
commit 43e14390b0
1 changed files with 1 additions and 1 deletions

View File

@ -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