Skip to content
Unverified Commit 1a9358c0 authored by Florian Hahn's avatar Florian Hahn
Browse files

[LV] Relax over-strict assertion for reduction exit value selects.

After f108c6cd, (mul x, 1) is simplified to x, which can cause the select
for the final reduction value when tail-folding to use the reduction
value for both options. Relax the assertion to make sure this case is
allowed.

Note that the reduction is now redundant itself and could be further
simplified.

Fixes #66895.
parent 8bbcc6d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment