Commit 79aced0
Automerge: [SLP]Check if the first reduced value requires freeze/swap, if it may be too poisonous
If several reduced values are combined and the first reduced value is
just the original reduced value of the bool logical op, need to freeze
it to prevent the propagation of the poison value.
Fixes #114905File tree
2 files changed
+24
-11
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/SLPVectorizer
2 files changed
+24
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19679 | 19679 | | |
19680 | 19680 | | |
19681 | 19681 | | |
| 19682 | + | |
| 19683 | + | |
| 19684 | + | |
19682 | 19685 | | |
19683 | 19686 | | |
19684 | 19687 | | |
19685 | 19688 | | |
19686 | 19689 | | |
19687 | 19690 | | |
19688 | | - | |
19689 | | - | |
19690 | | - | |
19691 | | - | |
19692 | | - | |
19693 | | - | |
19694 | | - | |
| 19691 | + | |
| 19692 | + | |
| 19693 | + | |
| 19694 | + | |
| 19695 | + | |
| 19696 | + | |
| 19697 | + | |
| 19698 | + | |
| 19699 | + | |
| 19700 | + | |
| 19701 | + | |
| 19702 | + | |
| 19703 | + | |
| 19704 | + | |
| 19705 | + | |
| 19706 | + | |
19695 | 19707 | | |
| 19708 | + | |
| 19709 | + | |
| 19710 | + | |
19696 | 19711 | | |
19697 | 19712 | | |
19698 | 19713 | | |
| |||
19701 | 19716 | | |
19702 | 19717 | | |
19703 | 19718 | | |
19704 | | - | |
19705 | | - | |
19706 | | - | |
19707 | 19719 | | |
19708 | 19720 | | |
19709 | 19721 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments