Commit ac93b611 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[SLP]Fix PR59098: check if the vector type is scalarized for

extractelements.

If the resulting type is going to be scalarized, no need to adjust the
cost of removed extractelement and insert/extract subvector costs.
Otherwise, the compiler can crash because of the wrong type sizes.
parent 70180ee0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment