Skip to content
Unverified Commit bd675f58 authored by Luke Lau's avatar Luke Lau Committed by GitHub
Browse files

[RISCV] Reduce LMUL when index is known when lowering insert_vector_elt (#66087)

Continuing on from #65997, if the index of insert_vector_elt is a
constant then we can work out what the minimum number of registers will
be needed for the slideup and choose a smaller type to operate on.

This reduces the LMUL for not just the slideup but also for the scalar
insert.
parent 8e6db7e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment