diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-05-16 23:45:53 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-05-16 23:45:53 +0000 |
| commit | 429178d727f52785967e216b0617e8cea3f909d1 (patch) | |
| tree | b39c7b42abcc5c957b0cc71b9575c6aaff65e63d /llvm/lib | |
| parent | 6ee68ca99001a33f91469b03a050df59b0cbc735 (diff) | |
| download | bcm5719-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.cpp | 1 |
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); |

