Commit 6f43d28f authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[IR]Add NumSrcElts param to is..Mask static function in ShuffleVectorInst.

Need to add NumSrcElts param to is..Mask functions in
ShuffleVectorInstruction class for better mask analysis. Mask.size() not
always matches the sizes of the permuted vector(s). Allows to better
estimate the cost in SLP and fix uses of the functions in other cases.

Differential Revision: https://reviews.llvm.org/D158449
parent 76227fc5
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