[llvm] [RISCV][NFC] Simplify RISCVInstrInfo::copyPhysReg (PR #84139)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 00:44:00 PST 2024


wangpc-pp wrote:

> Is your goal just to reduce the duplicated code or do you have other changes planned in this area?

Just reduction, I don't have more changes.

> I'd like to see us use larger LMUL moves when possible in the tuple copies. VRN8M1 copy doesn't need to use 8 instructions if the registers are LMUL8 aligned.

Good point, I may have a try.

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


More information about the llvm-commits mailing list