aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:20:08 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:20:08 +0000
commit23eff5c75a3d1ab9d2901a1cd39e0b1302957007 (patch)
tree74a4fd293a4c3e30a347a31edd2369da76424d4a
parent10c086cd776f94c75e996f8d56165b6bdd439241 (diff)
We don't have any FP extloads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76018 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SystemZ/SystemZISelLowering.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZISelLowering.cpp b/lib/Target/SystemZ/SystemZISelLowering.cpp
index 9721c67cff..e929aa1c94 100644
--- a/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -65,6 +65,13 @@ SystemZTargetLowering::SystemZTargetLowering(SystemZTargetMachine &tm) :
setLoadExtAction(ISD::ZEXTLOAD, MVT::i1, Promote);
setLoadExtAction(ISD::EXTLOAD, MVT::i1, Promote);
+ setLoadExtAction(ISD::SEXTLOAD, MVT::f32, Promote);
+ setLoadExtAction(ISD::ZEXTLOAD, MVT::f32, Promote);
+ setLoadExtAction(ISD::EXTLOAD, MVT::f32, Promote);
+ setLoadExtAction(ISD::SEXTLOAD, MVT::f64, Promote);
+ setLoadExtAction(ISD::ZEXTLOAD, MVT::f64, Promote);
+ setLoadExtAction(ISD::EXTLOAD, MVT::f64, Promote);
+
setStackPointerRegisterToSaveRestore(SystemZ::R15D);
setSchedulingPreference(SchedulingForLatency);