Commit b157599
committed
[SLP]Do not include copyable data to the same user twice
If the copyable schedule data is created and the user is used several
times in the user node, no need to count same data for the same user
several times, need to include it only ones.
Fixes llvm#1537541 parent 732eb54 commit b157599
File tree
2 files changed
+75
-0
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/SLPVectorizer/X86
2 files changed
+75
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5336 | 5336 | | |
5337 | 5337 | | |
5338 | 5338 | | |
| 5339 | + | |
5339 | 5340 | | |
5340 | 5341 | | |
5341 | 5342 | | |
| |||
5345 | 5346 | | |
5346 | 5347 | | |
5347 | 5348 | | |
| 5349 | + | |
| 5350 | + | |
| 5351 | + | |
| 5352 | + | |
5348 | 5353 | | |
5349 | 5354 | | |
5350 | 5355 | | |
| |||
20927 | 20932 | | |
20928 | 20933 | | |
20929 | 20934 | | |
| 20935 | + | |
20930 | 20936 | | |
20931 | 20937 | | |
20932 | 20938 | | |
| |||
20944 | 20950 | | |
20945 | 20951 | | |
20946 | 20952 | | |
| 20953 | + | |
20947 | 20954 | | |
20948 | 20955 | | |
20949 | 20956 | | |
| |||
20953 | 20960 | | |
20954 | 20961 | | |
20955 | 20962 | | |
| 20963 | + | |
| 20964 | + | |
| 20965 | + | |
| 20966 | + | |
20956 | 20967 | | |
20957 | 20968 | | |
20958 | 20969 | | |
| |||
Lines changed: 64 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
0 commit comments