From 0010a923751b2ba9a01a810952a1ab4e8baa43b3 Mon Sep 17 00:00:00 2001 From: Duraid Madina Date: Sat, 11 Feb 2006 07:32:15 +0000 Subject: [PATCH] now short immediates will get matched (previously constants were all triggering movl 64bit imm fat instructions) llvm-svn: 26119 --- llvm/lib/Target/IA64/IA64InstrInfo.td | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/llvm/lib/Target/IA64/IA64InstrInfo.td b/llvm/lib/Target/IA64/IA64InstrInfo.td index 7dc184c86129..a4e6cba1a2e1 100644 --- a/llvm/lib/Target/IA64/IA64InstrInfo.td +++ b/llvm/lib/Target/IA64/IA64InstrInfo.td @@ -99,11 +99,9 @@ def immSExt14 : PatLeaf<(i64 imm), [{ return (v <= 8191 && v >= -8192); }]>; -def imm64 : PatLeaf<(i64 imm), [{ - // imm64 predicate - True if the immediate fits in a 64-bit - // field - i.e., true. used to keep movl happy - return true; -}]>; +// imm64 predicate - True if the immediate fits in a 64-bit +// field - i.e., true. used to keep movl happy +def imm64 : PatLeaf<(i64 imm)>; def ADD : AForm_DAG<0x03, 0x0b, (ops GR:$dst, GR:$src1, GR:$src2), "add $dst = $src1, $src2",