Commit bc569f6e authored by Luke Lau's avatar Luke Lau
Browse files

[RISCV] Add test case for shufflevector that gets scalarized. NFC

This shufflevector gets scalarized into a build_vector of extract_vector_elts
because the output type doesn't match the input vector type.

Normally this is combined back into a vector_shuffle in DAGCombine, but this
one fails because we don't consider a extract_subvector to be cheap,
specifically because it's at an index > 31.

This should be canonicalized back into a vector_shuffle at some point so we can
lower it as a vrgather.vv.
parent 2f7d9abf
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