Commit ce66b56
authored
[LV][VPlan] Remove any-of reduction from precomputeCost. NFC (llvm#117109)
The any-of reduction contains phi and select instructions.
The select instruction might be optimized and removed in the vplan which
may cause VF difference between legacy and VPlan-based model. But if the
select instruction be removed, `planContainsAdditionalSimplifications()`
will catch it and disable the assertion.
Therefore, we can just remove the ayn-of reduction calculation in the
precomputeCost().1 parent 6b22e39 commit ce66b56
1 file changed
+2
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7303 | 7303 | | |
7304 | 7304 | | |
7305 | 7305 | | |
7306 | | - | |
7307 | | - | |
7308 | | - | |
| 7306 | + | |
7309 | 7307 | | |
7310 | 7308 | | |
7311 | 7309 | | |
7312 | 7310 | | |
7313 | 7311 | | |
7314 | | - | |
7315 | | - | |
7316 | | - | |
7317 | | - | |
7318 | | - | |
7319 | | - | |
7320 | | - | |
7321 | | - | |
7322 | | - | |
7323 | | - | |
7324 | | - | |
7325 | | - | |
7326 | | - | |
7327 | | - | |
7328 | | - | |
7329 | | - | |
7330 | | - | |
7331 | | - | |
| 7312 | + | |
7332 | 7313 | | |
7333 | | - | |
7334 | 7314 | | |
7335 | 7315 | | |
7336 | 7316 | | |
| |||
0 commit comments