[RISCV] Use vmv.s.x for a constant build_vector when the entire size is less than 32 bits
We have a variant of this for splats already, but hadn't handled the case where a single copy of the wider element can be inserted producing the entire required bit pattern. This shows up mostly in very small vector shuffle tests. Differential Revision: https://reviews.llvm.org/D157299
Loading
Please sign in to comment