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

[SLP]Do not crash if number of vector registers does not feet the vector

type.

Need to check, if the number of vector registers, returned by TTI, is
not greater than total number of mask element and not zero, before
trying to perform any operations. TTI still may return non-valid number
of registers.
parent fb08c694
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