From b2671cf884544eb82fdc079dc60fad5410f25064 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Mon, 16 Jan 2006 21:41:39 +0000 Subject: [PATCH] fix short immediate loads llvm-svn: 25371 --- lib/Target/Alpha/AlphaInstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index ce026ddeeff..34a76d5cf1e 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)>;