summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2009-03-19 05:21:56 +0000
committerNate Begeman <natebegeman@mac.com>2009-03-19 05:21:56 +0000
commitdbe3f77f5bfa4e580ddddc85b5afa3bb5a29a921 (patch)
tree2665bfbf970b06c7360f224a7ffb21f1da4e1fcb /llvm/lib
parent113d8c9c1c0d539678bbbe45b7dbaeed47726ce3 (diff)
downloadbcm5719-llvm-dbe3f77f5bfa4e580ddddc85b5afa3bb5a29a921.tar.gz
bcm5719-llvm-dbe3f77f5bfa4e580ddddc85b5afa3bb5a29a921.zip
Add support to tablegen for naming the nodes themselves, not just the operands,
in selectiondag patterns. This is required for the upcoming shuffle_vector rewrite, and as it turns out, cleans up a hack in the Alpha instruction info. llvm-svn: 67286
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Alpha/AlphaInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.td b/llvm/lib/Target/Alpha/AlphaInstrInfo.td
index 28f3d1e33bc..ae9282564d1 100644
--- a/llvm/lib/Target/Alpha/AlphaInstrInfo.td
+++ b/llvm/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))>;
OpenPOWER on IntegriCloud