aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-01-10 19:12:47 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-01-10 19:12:47 +0000
commit29418a862c4bfd338fb116d446765d0dc87509d7 (patch)
tree966e8a3f7904354cdbfa2a506888fc863ddeeb46
parentb52ee7f5ffd189c4f21ab227c6a24061ef3378fc (diff)
Int immediate loading fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25182 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Alpha/AlphaInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td
index 0bd2f0ff23..82246caddf 100644
--- a/lib/Target/Alpha/AlphaInstrInfo.td
+++ b/lib/Target/Alpha/AlphaInstrInfo.td
@@ -828,7 +828,7 @@ def : Pat<(i64 immSExt16int:$imm),
(ZAPNOTi (LDA (SExt16 immSExt16int:$imm), R31), 15)>;
def : Pat<(i64 immConst2PartInt:$imm),
(ZAPNOTi (LDA (LL16 (SExt16 immConst2PartInt:$imm)),
- (LDAH (LH16 (SExt16 immConst2PartInt:$imm)), R31)), 15)>;
+ (LDAH (LH16 (SExt32 immConst2PartInt:$imm)), R31)), 15)>;
//TODO: I want to just define these like this!