Commit ca654ac
committed
[SLP]Fix PR79321: SLPVectorizer's PHICompare doesn't provide a strict
weak ordering.
Compared NumUses to meet the reaquirements of the strict weak ordering.1 parent 3b8539c commit ca654ac
File tree
2 files changed
+5
-3
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/SLPVectorizer/X86
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4138 | 4138 | | |
4139 | 4139 | | |
4140 | 4140 | | |
4141 | | - | |
| 4141 | + | |
4142 | 4142 | | |
4143 | | - | |
| 4143 | + | |
| 4144 | + | |
| 4145 | + | |
4144 | 4146 | | |
4145 | 4147 | | |
4146 | 4148 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments