V8 doesn't have FP extload
authorChris Lattner <sabre@nondot.org>
Sun, 18 Dec 2005 07:13:32 +0000 (07:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Dec 2005 07:13:32 +0000 (07:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24821 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcISelDAGToDAG.cpp
lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp

index e4b2e1aaa8d6b345f14ccab3b5f5586b70094961..7c7378e61bed45255ce83feedf970d75970e40ce 100644 (file)
@@ -98,6 +98,8 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
   setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand);
   setOperationAction(ISD::UINT_TO_FP, MVT::i32, Expand);
   
+  setOperationAction(ISD::EXTLOAD, MVT::f32, Expand);
+  
   // Sparc has no select or setcc: expand to SELECT_CC.
   setOperationAction(ISD::SELECT, MVT::i32, Expand);
   setOperationAction(ISD::SELECT, MVT::f32, Expand);
index e4b2e1aaa8d6b345f14ccab3b5f5586b70094961..7c7378e61bed45255ce83feedf970d75970e40ce 100644 (file)
@@ -98,6 +98,8 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
   setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand);
   setOperationAction(ISD::UINT_TO_FP, MVT::i32, Expand);
   
+  setOperationAction(ISD::EXTLOAD, MVT::f32, Expand);
+  
   // Sparc has no select or setcc: expand to SELECT_CC.
   setOperationAction(ISD::SELECT, MVT::i32, Expand);
   setOperationAction(ISD::SELECT, MVT::f32, Expand);