diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:22:46 +0000 | 
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:22:46 +0000 | 
| commit | 871784ba88e2056e0abc63639cc6b14a091265d3 (patch) | |
| tree | a4631a8e952044f9e51d6623a7cde36c33829c1f /llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | |
| parent | 12400008a7c849a12107f509994579d180338adb (diff) | |
| download | bcm5719-llvm-871784ba88e2056e0abc63639cc6b14a091265d3.tar.gz bcm5719-llvm-871784ba88e2056e0abc63639cc6b14a091265d3.zip  | |
Proper FP extloads
llvm-svn: 76028
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp index 83afcf404aa..01ecf4fae90 100644 --- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -65,13 +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::f32, Expand); +  setLoadExtAction(ISD::ZEXTLOAD, MVT::f32, Expand); +  setLoadExtAction(ISD::EXTLOAD,  MVT::f32, Expand); -  setLoadExtAction(ISD::SEXTLOAD, MVT::f64, Promote); -  setLoadExtAction(ISD::ZEXTLOAD, MVT::f64, Promote); -  setLoadExtAction(ISD::EXTLOAD,  MVT::f64, Promote); +  setLoadExtAction(ISD::SEXTLOAD, MVT::f64, Expand); +  setLoadExtAction(ISD::ZEXTLOAD, MVT::f64, Expand); +  setLoadExtAction(ISD::EXTLOAD,  MVT::f64, Expand);    setStackPointerRegisterToSaveRestore(SystemZ::R15D);    setSchedulingPreference(SchedulingForLatency);  | 

