Commit 3918ef3
authored
[SLP]Fix the analysis for masked compress loads
Need to remove the check for Orders in interleaved loads analysis and
estimate shuffle cost without the reordering to correctly handle the
costs of masked compress loads.
Reviewers: hiraditya, HanKuanChen, RKSimon
Reviewed By: HanKuanChen, RKSimon
Pull Request: #1406471 parent 48a2836 commit 3918ef3
File tree
4 files changed
+25
-26
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/SLPVectorizer
- RISCV
- X86
4 files changed
+25
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5944 | 5944 | | |
5945 | 5945 | | |
5946 | 5946 | | |
5947 | | - | |
5948 | | - | |
5949 | | - | |
5950 | | - | |
| 5947 | + | |
| 5948 | + | |
| 5949 | + | |
5951 | 5950 | | |
5952 | 5951 | | |
5953 | 5952 | | |
| |||
5957 | 5956 | | |
5958 | 5957 | | |
5959 | 5958 | | |
5960 | | - | |
5961 | | - | |
5962 | | - | |
5963 | 5959 | | |
5964 | 5960 | | |
5965 | 5961 | | |
5966 | 5962 | | |
5967 | 5963 | | |
5968 | 5964 | | |
5969 | 5965 | | |
| 5966 | + | |
| 5967 | + | |
5970 | 5968 | | |
5971 | 5969 | | |
5972 | 5970 | | |
5973 | 5971 | | |
5974 | 5972 | | |
5975 | 5973 | | |
5976 | 5974 | | |
5977 | | - | |
5978 | | - | |
5979 | 5975 | | |
5980 | 5976 | | |
5981 | 5977 | | |
| |||
13553 | 13549 | | |
13554 | 13550 | | |
13555 | 13551 | | |
13556 | | - | |
| 13552 | + | |
13557 | 13553 | | |
13558 | 13554 | | |
13559 | 13555 | | |
| 13556 | + | |
13560 | 13557 | | |
13561 | 13558 | | |
13562 | 13559 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
0 commit comments