mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
fix short immediate loads
llvm-svn: 25371
This commit is contained in:
parent
6c89d964ca
commit
b2671cf884
@ -826,7 +826,7 @@ def : Pat<(i64 immSExt16:$imm),
|
|||||||
def : Pat<(i64 immSExt16int:$imm),
|
def : Pat<(i64 immSExt16int:$imm),
|
||||||
(ZAPNOTi (LDA (SExt16 immSExt16int:$imm), R31), 15)>;
|
(ZAPNOTi (LDA (SExt16 immSExt16int:$imm), R31), 15)>;
|
||||||
def : Pat<(i64 immConst2PartInt:$imm),
|
def : Pat<(i64 immConst2PartInt:$imm),
|
||||||
(ZAPNOTi (LDA (LL16 (SExt16 immConst2PartInt:$imm)),
|
(ZAPNOTi (LDA (LL16 (SExt32 immConst2PartInt:$imm)),
|
||||||
(LDAH (LH16 (SExt32 immConst2PartInt:$imm)), R31)), 15)>;
|
(LDAH (LH16 (SExt32 immConst2PartInt:$imm)), R31)), 15)>;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user