fix short immediate loads

llvm-svn: 25371
This commit is contained in:
Andrew Lenharth 2006-01-16 21:41:39 +00:00
parent 4aa90b347f
commit cfd9c6e526
1 changed files with 1 additions and 1 deletions

View File

@ -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)>;