mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
PPC supports i32 / i64 pre-inc load / store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8dc5cad8a2
commit
cd63319227
@ -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…
Reference in New Issue
Block a user