Skip to content
Commit 3ab2e0a4 authored by Roger Ferrer's avatar Roger Ferrer Committed by Ferran Pallares
Browse files

Copy the whole vector and not just VL elements

We were using VADD.VI to do a copy between two physical registers which
should be OK. However we didn't make sure we were using VLMAX to copy
the whole register.

We can't use virtual registers here because Register Allocation has
already run. ExpandPostRA does not behave like PrologEpilogInserter which
runs the scavenger if needed, so we need to explicitly scavenge a couple of
registers.

There is a bit of risk we can't actually scavenge them, in such case we
might want to revisit this and manually spill two registers of our choice
onto the stack.
parent 2f05d6e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment