[llvm] [RISCV] Use vmv.v.x to materialize masks in deinterleave2 lowering (PR #118500)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 09:01:19 PST 2024


preames wrote:

> Can vmv.v.x be rematerialized? I thought only vmv.v.i can?

It can, see isReallyTriviallyReMaterializable.  During vector regalloc, the scalar operand can be ignored.  During scalar regalloc, the vector is already fixed.  

https://github.com/llvm/llvm-project/pull/118500


More information about the llvm-commits mailing list