summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CMakeLists.txt
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-02-22 00:07:45 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-02-22 00:07:45 +0000
commita349084a91025cff528bc3c4e5582ae5e049c2fc (patch)
tree97142329696aa929a843015c56f1192d79ab50ef /llvm/lib/CodeGen/CMakeLists.txt
parent204c3c50b9e749ce4cb6781e734b1eeb4bbc567e (diff)
downloadbcm5719-llvm-a349084a91025cff528bc3c4e5582ae5e049c2fc.tar.gz
bcm5719-llvm-a349084a91025cff528bc3c4e5582ae5e049c2fc.zip
[CodeGenPrepare] Move CodeGenPrepare into lib/CodeGen.
CodeGenPrepare uses extensively TargetLowering which is part of libLLVMCodeGen. This is a layer violation which would introduce eventually a dependence on CodeGen in ScalarOpts. Move CodeGenPrepare into libLLVMCodeGen to avoid that. Follow-up of <rdar://problem/15519855> llvm-svn: 201912
Diffstat (limited to 'llvm/lib/CodeGen/CMakeLists.txt')
-rw-r--r--llvm/lib/CodeGen/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt
index 123d86f9504..8943cb11c6b 100644
--- a/llvm/lib/CodeGen/CMakeLists.txt
+++ b/llvm/lib/CodeGen/CMakeLists.txt
@@ -7,6 +7,7 @@ add_llvm_library(LLVMCodeGen
CalcSpillWeights.cpp
CallingConvLower.cpp
CodeGen.cpp
+ CodeGenPrepare.cpp
CriticalAntiDepBreaker.cpp
DFAPacketizer.cpp
DeadMachineInstructionElim.cpp
OpenPOWER on IntegriCloud