projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4fe66
)
Fix up immediate handling
author
Andrew Lenharth
<andrewl@lenharth.org>
Thu, 29 Dec 2005 00:50:08 +0000
(
00:50
+0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Thu, 29 Dec 2005 00:50:08 +0000
(
00:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25039
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaInstrInfo.td
b/lib/Target/Alpha/AlphaInstrInfo.td
index c51918275a308da2731768e633be4c2aca12a024..36540f2a66f0d8a9c222fe6f882b31170139a3ef 100644
(file)
--- a/
lib/Target/Alpha/AlphaInstrInfo.td
+++ b/
lib/Target/Alpha/AlphaInstrInfo.td
@@
-54,7
+54,7
@@
def immUExt8inv : PatLeaf<(imm), [{
def immSExt16 : PatLeaf<(imm), [{
// immSExt16 predicate - True if the immediate fits in a 16-bit sign extended
// field. Used by instructions like 'lda'.
- return (int
)N->getValue() == (shor
t)N->getValue();
+ return (int
64_t)N->getValue() == (int16_
t)N->getValue();
}]>;
def iZAPX : SDNodeXForm<imm, [{