mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 22:00:58 +00:00
PPC supports i32 / i64 pre-inc load / store.
llvm-svn: 31599
This commit is contained in:
parent
17dd6dd46c
commit
d7df1a37bc
@ -50,6 +50,12 @@ PPCTargetLowering::PPCTargetLowering(PPCTargetMachine &TM)
|
||||
// PowerPC does not have truncstore for i1.
|
||||
setStoreXAction(MVT::i1, Promote);
|
||||
|
||||
// PowerPC has i32 and i64 pre-inc load and store's.
|
||||
setIndexedLoadAction(ISD::PRE_INC, MVT::i32, Legal);
|
||||
setIndexedLoadAction(ISD::PRE_INC, MVT::i64, Legal);
|
||||
setIndexedStoreAction(ISD::PRE_INC, MVT::i32, Legal);
|
||||
setIndexedStoreAction(ISD::PRE_INC, MVT::i64, Legal);
|
||||
|
||||
setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
|
||||
setOperationAction(ISD::ConstantFP, MVT::f32, Expand);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user