diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-12-29 01:06:12 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-12-29 01:06:12 +0000 |
commit | 50d9caf6a49d48e561247a1dc10085cde11c635c (patch) | |
tree | 69fba47f32f1f6a4d5e7ac91f629a9bb3d7cdd9a | |
parent | 34e4782c954b6115a76223d96d5961e3eaaba0dc (diff) | |
download | bcm5719-llvm-50d9caf6a49d48e561247a1dc10085cde11c635c.tar.gz bcm5719-llvm-50d9caf6a49d48e561247a1dc10085cde11c635c.zip |
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
llvm-svn: 25040
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaInstrInfo.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.td b/llvm/lib/Target/Alpha/AlphaInstrInfo.td index 36540f2a66f..13aab77c823 100644 --- a/llvm/lib/Target/Alpha/AlphaInstrInfo.td +++ b/llvm/lib/Target/Alpha/AlphaInstrInfo.td @@ -44,12 +44,12 @@ def invX : SDNodeXForm<imm, [{ 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 |