Commit cedcb9d
committed
[AArch64] Combine separate vector and scalar tablegen SDNode record for AArch64ISD::REV16. NFC
It's not a good idea to have two different SDNode records with
different SDTypeProfiles. SDTypeProfiles are used to remove some
unneeded checks from the GenDAGISel.inc. Having different
SDTypeProfiles can cause checks to be removed that can create
ambiguous matches, but that did not happen in this case.
With this change the AArchGenDAGISel.inc is identical. The only change
is AArch64GenGlobalISel.inc which now includes scalar patterns for
G_REV16 due to them now being picks up by an SDNodeEquiv. GISel
does not yet use G_REV16 for scalars so this is not a functional change.1 parent 13ded68 commit cedcb9d
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
820 | | - | |
821 | | - | |
822 | | - | |
| 820 | + | |
823 | 821 | | |
824 | 822 | | |
825 | 823 | | |
| |||
3000 | 2998 | | |
3001 | 2999 | | |
3002 | 3000 | | |
3003 | | - | |
3004 | | - | |
| 3001 | + | |
| 3002 | + | |
3005 | 3003 | | |
3006 | 3004 | | |
3007 | 3005 | | |
| |||
0 commit comments