Commit 4f0bd8f
committed
[SLP]Fix strict weak ordering for Cmp instruction comparator.
Sorting algorithms require strict weak ordering for comparators, final
fix for cmp instructions comparator.1 parent 989ce06 commit 4f0bd8f
File tree
2 files changed
+8
-8
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/SLPVectorizer/X86
2 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14697 | 14697 | | |
14698 | 14698 | | |
14699 | 14699 | | |
14700 | | - | |
14701 | | - | |
| 14700 | + | |
| 14701 | + | |
14702 | 14702 | | |
14703 | | - | |
14704 | | - | |
| 14703 | + | |
| 14704 | + | |
14705 | 14705 | | |
14706 | 14706 | | |
14707 | 14707 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments