summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-05-16 23:45:53 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-05-16 23:45:53 +0000
commit429178d727f52785967e216b0617e8cea3f909d1 (patch)
treeb39c7b42abcc5c957b0cc71b9575c6aaff65e63d /llvm/lib
parent6ee68ca99001a33f91469b03a050df59b0cbc735 (diff)
downloadbcm5719-llvm-429178d727f52785967e216b0617e8cea3f909d1.tar.gz
bcm5719-llvm-429178d727f52785967e216b0617e8cea3f909d1.zip
Add target hook to specify block size limit for if-conversion.
llvm-svn: 37134
Diffstat (limited to 'llvm/lib')
-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 1a8a4bc349f..970533b9a51 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -157,6 +157,7 @@ TargetLowering::TargetLowering(TargetMachine &tm)
SchedPreferenceInfo = SchedulingForLatency;
JumpBufSize = 0;
JumpBufAlignment = 0;
+ IfCvtBlockSizeLimit = 2;
InitLibcallNames(LibcallRoutineNames);
InitCmpLibcallCCs(CmpLibcallCCs);
OpenPOWER on IntegriCloud