summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-05-13 21:42:09 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-05-13 21:42:09 +0000
commitab0d23396a79022051e5699ef26bd0367ce11a5d (patch)
tree7bf0924e0742a7ea2798b6a16326d22967be2dd7 /llvm/lib/CodeGen/SelectionDAG
parentffe4e63b408582f55b273224ba3a92309758ef6a (diff)
downloadbcm5719-llvm-ab0d23396a79022051e5699ef26bd0367ce11a5d.tar.gz
bcm5719-llvm-ab0d23396a79022051e5699ef26bd0367ce11a5d.zip
Run code placement optimization for targets that want it (arm and x86 for now).
llvm-svn: 71726
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index d7abd32727b..1bb3959e68f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -483,6 +483,7 @@ TargetLowering::TargetLowering(TargetMachine &tm)
memset(TargetDAGCombineArray, 0, array_lengthof(TargetDAGCombineArray));
maxStoresPerMemset = maxStoresPerMemcpy = maxStoresPerMemmove = 8;
allowUnalignedMemoryAccesses = false;
+ benefitFromCodePlacementOpt = false;
UseUnderscoreSetJmp = false;
UseUnderscoreLongJmp = false;
SelectIsExpensive = false;
OpenPOWER on IntegriCloud