diff options
author | Nate Begeman <natebegeman@mac.com> | 2009-03-19 05:21:56 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2009-03-19 05:21:56 +0000 |
commit | 7cee81703de8333d457ec9e560b0537b71df5a48 (patch) | |
tree | 510812a4ee134e4dbda6b3f38cdaeab84a82a86f /lib/Target/Alpha/AlphaInstrInfo.td | |
parent | b53db4fb321823a8a1f6abc372bdc7c36ef1447f (diff) | |
download | external_llvm-7cee81703de8333d457ec9e560b0537b71df5a48.zip external_llvm-7cee81703de8333d457ec9e560b0537b71df5a48.tar.gz external_llvm-7cee81703de8333d457ec9e560b0537b71df5a48.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaInstrInfo.td')
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 28f3d1e..ae92825 100644 --- 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))>; |