diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-16 21:41:39 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-16 21:41:39 +0000 |
commit | 6e707fb39c4089feb2826ddd28813827f5934bca (patch) | |
tree | c6a2d6a71b22148f84f092b51846f94b4c492b71 | |
parent | 097c6e18a333b94e4e3db19dc9e591055716271e (diff) |
fix short immediate loads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25371 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index ce026ddeef..34a76d5cf1 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.td +++ b/lib/Target/Alpha/AlphaInstrInfo.td @@ -826,7 +826,7 @@ def : Pat<(i64 immSExt16:$imm), def : Pat<(i64 immSExt16int:$imm), (ZAPNOTi (LDA (SExt16 immSExt16int:$imm), R31), 15)>; def : Pat<(i64 immConst2PartInt:$imm), - (ZAPNOTi (LDA (LL16 (SExt16 immConst2PartInt:$imm)), + (ZAPNOTi (LDA (LL16 (SExt32 immConst2PartInt:$imm)), (LDAH (LH16 (SExt32 immConst2PartInt:$imm)), R31)), 15)>; |