[llvm] [RISCV] Support postRA vsetvl insertion pass (PR #70549)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 04:13:27 PDT 2024


lukel97 wrote:

Just an idea, is it possible to still do pre-regalloc vsetvli insertion but by only using LiveIntervals instead of `MRI->getVRegDef()`? I.e. keeping our changes to VSETVLIInfo and friends. If it ends up being NFC then we could split that off, and then the -riscv-vsetvli-after-rvv-regalloc flag would just be a matter of moving the pass in RISCVTargetMachine.cpp

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


More information about the llvm-commits mailing list