Commit 26dd128
committed
[SLP]Do not propagate nuw/nsw flags for alt nodes, affected by
minbitwidth analysis.
Need to drop nuw/nsw flags, if the alternate node is resized after the
minbitwidth analysis, to avoid producing poison values in corner cases.1 parent 3137347 commit 26dd128
File tree
2 files changed
+6
-6
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/SLPVectorizer/X86
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12621 | 12621 | | |
12622 | 12622 | | |
12623 | 12623 | | |
12624 | | - | |
12625 | | - | |
| 12624 | + | |
| 12625 | + | |
12626 | 12626 | | |
12627 | 12627 | | |
12628 | 12628 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments