projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support to tablegen for naming the nodes themselves, not just the operands,
[oota-llvm.git]
/
lib
/
Target
/
Alpha
/
AlphaInstrInfo.td
diff --git
a/lib/Target/Alpha/AlphaInstrInfo.td
b/lib/Target/Alpha/AlphaInstrInfo.td
index 28f3d1e33bc13b3a5fc41fd606ae1912d6dbb60e..ae9282564d1e0780720a986a10cebd6cbb696d5e 100644
(file)
--- a/
lib/Target/Alpha/AlphaInstrInfo.td
+++ b/
lib/Target/Alpha/AlphaInstrInfo.td
@@
-337,7
+337,7
@@
def SEXTW : OForm2<0x1C, 0x01, "sextw $RB,$RC",
def ZAPNOTi : OFormL<0x12, 0x31, "zapnot $RA,$L,$RC", [], s_ishf>;
// Define the pattern that produces ZAPNOTi.
-def : Pat<(
i64 (zappat GPRC:$RA):$imm
),
+def : Pat<(
zappat:$imm GPRC:$RA
),
(ZAPNOTi GPRC:$RA, (iZAPX GPRC:$imm))>;