Skip to content
Commit f0a9aacd authored by Philip Reames's avatar Philip Reames Committed by Philip Reames
Browse files

[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
parent 21169213
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment