mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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))>;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user