Commit 019aee83 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[SLP]Improve costs in computeExtractCost() to avoid crash after D158449.

Need to consider the length of the original vector for extractelements,
not the length, matched number of the scalars. It fixes 2 issues: 1)
improves cost estimation; 2) Fixes crashes after D158449.
parent cc696627
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