summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commit45a56de72692a45b81685a8f558dd9856c531e20 (patch)
treec94559804c100073b654c5943a6e991ddcac5334 /llvm/lib/Target
parentead9b9fb3158d5bc4ee7a8c8cffceaef98a2fd83 (diff)
downloadbcm5719-llvm-45a56de72692a45b81685a8f558dd9856c531e20.tar.gz
bcm5719-llvm-45a56de72692a45b81685a8f558dd9856c531e20.zip
We don't have any FP extloads
llvm-svn: 76018
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index 9721c67cff5..e929aa1c941 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud