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

Duraid Madina duraid at octopus.com.au
Thu Nov 3 02:09:52 PST 2005



Changes in directory llvm/lib/Target/IA64:

IA64InstrInfo.td updated: 1.26 -> 1.27
---
Log message:

add pattern to load constant 0 into a predicate reg



---
Diffs of the changes:  (+2 -0)

 IA64InstrInfo.td |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/IA64/IA64InstrInfo.td
diff -u llvm/lib/Target/IA64/IA64InstrInfo.td:1.26 llvm/lib/Target/IA64/IA64InstrInfo.td:1.27
--- llvm/lib/Target/IA64/IA64InstrInfo.td:1.26	Wed Nov  2 23:45:34 2005
+++ llvm/lib/Target/IA64/IA64InstrInfo.td	Thu Nov  3 04:09:32 2005
@@ -361,6 +361,8 @@
 def : Pat<(i64 immSExt14:$imm), (ADDS r0, immSExt14:$imm)>;
 def : Pat<(i64 imm64:$imm), (MOVL imm64:$imm)>;
 def : Pat<(i1 -1), (CMPEQ r0, r0)>; // TODO: this should just be a ref to p0
+def : Pat<(i1  0), (CMPNE r0, r0)>; // TODO: any instruction actually *using*
+                                    //       this predicate should be killed!
 
 // TODO: support postincrement (reg, imm9) loads+stores - this needs more
 // tablegen support






More information about the llvm-commits mailing list