summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-05-19 20:19:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-05-19 20:19:50 +0000
commit738e920edfaca3d2b6d6d140b432e29719722a17 (patch)
tree32ad5d40e9909017d89c446832ce7f46d10877b5 /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
parente11cdf8cc8132ada1f9e622a9aef243e5c4b92a1 (diff)
downloadbcm5719-llvm-738e920edfaca3d2b6d6d140b432e29719722a17.tar.gz
bcm5719-llvm-738e920edfaca3d2b6d6d140b432e29719722a17.zip
Code refactoring: pull SchedPreference enum from TargetLowering.h to TargetMachine.h and put it in its own namespace.
llvm-svn: 104147
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index e98f18b9a31..76f29010d08 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -81,7 +81,7 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
// LLVM's current latency-oriented scheduler can't handle physreg definitions
// such as SystemZ has with PSW, so set this to the register-pressure
// scheduler, because it can.
- setSchedulingPreference(SchedulingForRegPressure);
+ setSchedulingPreference(Sched::RegPressure);
setBooleanContents(ZeroOrOneBooleanContent);
OpenPOWER on IntegriCloud