Fix FP constants, and the SparcV8/2006-01-22-BitConvertLegalize.ll failure from last night

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-01-30 22:20:49 +00:00
parent 02568ff48d
commit 2adc05cf5b
2 changed files with 6 additions and 0 deletions

View File

@ -291,6 +291,9 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand); setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32 , Expand); setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32 , Expand);
setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
setOperationAction(ISD::ConstantFP, MVT::f32, Expand);
setStackPointerRegisterToSaveRestore(V8::O6); setStackPointerRegisterToSaveRestore(V8::O6);
if (TM.getSubtarget<SparcV8Subtarget>().isV9()) { if (TM.getSubtarget<SparcV8Subtarget>().isV9()) {

View File

@ -291,6 +291,9 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand); setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32 , Expand); setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32 , Expand);
setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
setOperationAction(ISD::ConstantFP, MVT::f32, Expand);
setStackPointerRegisterToSaveRestore(V8::O6); setStackPointerRegisterToSaveRestore(V8::O6);
if (TM.getSubtarget<SparcV8Subtarget>().isV9()) { if (TM.getSubtarget<SparcV8Subtarget>().isV9()) {