From: Andrew Lenharth Date: Tue, 10 Jan 2006 19:12:47 +0000 (+0000) Subject: Int immediate loading fix X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=29418a862c4bfd338fb116d446765d0dc87509d7;p=oota-llvm.git Int immediate loading fix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25182 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 0bd2f0ff23e..82246caddfa 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!