mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
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:
parent
02568ff48d
commit
2adc05cf5b
@ -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()) {
|
||||||
|
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user