[llvm-commits] CVS: llvm/lib/Target/IA64/IA64InstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 2 21:45:45 PST 2005
Changes in directory llvm/lib/Target/IA64:
IA64InstrInfo.td updated: 1.25 -> 1.26
---
Log message:
Fix a bug that prevented this pattern from matching
---
Diffs of the changes: (+1 -1)
IA64InstrInfo.td | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/IA64/IA64InstrInfo.td
diff -u llvm/lib/Target/IA64/IA64InstrInfo.td:1.25 llvm/lib/Target/IA64/IA64InstrInfo.td:1.26
--- llvm/lib/Target/IA64/IA64InstrInfo.td:1.25 Wed Nov 2 00:49:37 2005
+++ llvm/lib/Target/IA64/IA64InstrInfo.td Wed Nov 2 23:45:34 2005
@@ -360,7 +360,7 @@
// load constants of various sizes // FIXME: prettyprint -ve constants
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 -1), (CMPEQ r0, r0)>; // TODO: this should just be a ref to p0
// TODO: support postincrement (reg, imm9) loads+stores - this needs more
// tablegen support
More information about the llvm-commits
mailing list