Changes in directory llvm/lib/Target/IA64:

IA64InstrInfo.td updated: 1.45 -> 1.46
---
Log message:


now short immediates will get matched (previously constants were all
triggering movl 64bit imm fat instructions)



---
Diffs of the changes:  (+3 -5)

 IA64InstrInfo.td |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)


Index: llvm/lib/Target/IA64/IA64InstrInfo.td
diff -u llvm/lib/Target/IA64/IA64InstrInfo.td:1.45 
llvm/lib/Target/IA64/IA64InstrInfo.td:1.46
--- llvm/lib/Target/IA64/IA64InstrInfo.td:1.45  Thu Jan 26 19:46:15 2006
+++ llvm/lib/Target/IA64/IA64InstrInfo.td       Sat Feb 11 01:32:15 2006
@@ -99,11 +99,9 @@
   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",



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to