[llvm-commits] CVS: llvm/lib/Target/IA64/IA64InstrInfo.td

Duraid Madina duraid at octopus.com.au
Fri Feb 10 23:32:27 PST 2006



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",






More information about the llvm-commits mailing list