[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaInstrInfo.td
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Wed Dec 28 17:06:24 PST 2005
Changes in directory llvm/lib/Target/Alpha:
AlphaInstrInfo.td updated: 1.94 -> 1.95
---
Log message:
let us get some do what I meant not what I said stuff checked in. You would think the alpha backend would be 64bit clean
---
Diffs of the changes: (+2 -2)
AlphaInstrInfo.td | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/Alpha/AlphaInstrInfo.td
diff -u llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.94 llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.95
--- llvm/lib/Target/Alpha/AlphaInstrInfo.td:1.94 Wed Dec 28 18:50:08 2005
+++ llvm/lib/Target/Alpha/AlphaInstrInfo.td Wed Dec 28 19:06:12 2005
@@ -44,12 +44,12 @@
def immUExt8 : PatLeaf<(imm), [{
// immUExt8 predicate - True if the immediate fits in a 8-bit zero extended
// field. Used by instructions like 'addi'.
- return (unsigned long)N->getValue() == (unsigned char)N->getValue();
+ return (uint64_t)N->getValue() == (uint8_t)N->getValue();
}]>;
def immUExt8inv : PatLeaf<(imm), [{
// immUExt8inv predicate - True if the inverted immediate fits in a 8-bit zero extended
// field. Used by instructions like 'ornoti'.
- return (unsigned long)~N->getValue() == (unsigned char)~N->getValue();
+ return (uint64_t)~N->getValue() == (uint8_t)~N->getValue();
}], invX>;
def immSExt16 : PatLeaf<(imm), [{
// immSExt16 predicate - True if the immediate fits in a 16-bit sign extended
More information about the llvm-commits
mailing list