Commit 81e63f9
authored
[CostModel][X86] getShuffleCost - use processShuffleMasks to split SK_PermuteTwoSrc shuffles to legal types (#120599)
processShuffleMasks can now correctly handle 2 src shuffles, so we can use the existing SK_PermuteSingleSrc splitting cost logic to handle SK_PermuteTwoSrc as well and correctly recognise the number of active subvectors per legalised shuffle.1 parent fe85c71 commit 81e63f9
File tree
22 files changed
+1073
-934
lines changed- llvm
- lib/Target/X86
- test
- Analysis/CostModel/X86
- Transforms
- PhaseOrdering/X86
- SLPVectorizer/X86
- VectorCombine/X86
22 files changed
+1073
-934
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1698 | 1698 | | |
1699 | 1699 | | |
1700 | 1700 | | |
1701 | | - | |
| 1701 | + | |
| 1702 | + | |
1702 | 1703 | | |
1703 | 1704 | | |
1704 | 1705 | | |
| |||
1784 | 1785 | | |
1785 | 1786 | | |
1786 | 1787 | | |
1787 | | - | |
1788 | | - | |
1789 | | - | |
1790 | | - | |
1791 | | - | |
1792 | | - | |
1793 | | - | |
1794 | | - | |
1795 | 1788 | | |
1796 | 1789 | | |
1797 | 1790 | | |
| |||
Lines changed: 47 additions & 61 deletions
Large diffs are not rendered by default.
Lines changed: 47 additions & 61 deletions
Large diffs are not rendered by default.
Lines changed: 47 additions & 61 deletions
Large diffs are not rendered by default.
Lines changed: 47 additions & 61 deletions
Large diffs are not rendered by default.
Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.
Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.
Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.
Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.
Lines changed: 128 additions & 82 deletions
Large diffs are not rendered by default.
0 commit comments