[llvm-commits] [llvm] r76018 - /llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp

Anton Korobeynikov asl at math.spbu.ru
Thu Jul 16 07:20:08 PDT 2009


Author: asl
Date: Thu Jul 16 09:20:08 2009
New Revision: 76018

URL: http://llvm.org/viewvc/llvm-project?rev=76018&view=rev
Log:
We don't have any FP extloads

Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp

Modified: llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp?rev=76018&r1=76017&r2=76018&view=diff

==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZISelLowering.cpp Thu Jul 16 09:20:08 2009
@@ -65,6 +65,13 @@
   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);
 





More information about the llvm-commits mailing list