Commit 8415da6
[SLP]Do correct signedness analysis for externally used scalars
If the scalars is used externally is in the root node, it may have
incorrect signedness info because of the conflict with the demanded bits
analysis. Need to perform exact signedness analysis and compute it
rather than rely on the precomputed value, which might be incorrect for
alternate zext/sext nodes.
Fixes llvm#1135201 parent 6300950 commit 8415da6
File tree
3 files changed
+8
-6
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/SLPVectorizer
- SystemZ
3 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12068 | 12068 | | |
12069 | 12069 | | |
12070 | 12070 | | |
12071 | | - | |
12072 | | - | |
| 12071 | + | |
| 12072 | + | |
| 12073 | + | |
12073 | 12074 | | |
12074 | 12075 | | |
12075 | 12076 | | |
| |||
15784 | 15785 | | |
15785 | 15786 | | |
15786 | 15787 | | |
15787 | | - | |
15788 | | - | |
| 15788 | + | |
| 15789 | + | |
| 15790 | + | |
15789 | 15791 | | |
15790 | 15792 | | |
15791 | 15793 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments