Files
clang-p2996/llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
Luke Lau 52187b9f2e [RISCV] Move RISCVDeadRegisterDefinitions to post vector regalloc (#90636)
Currently RISCVDeadRegisterDefinitions runs after vsetvli insertion, but
in #70549 vsetvli insertion runs after vector regalloc and as a result
we no longer convert some vsetvli a0, a0s to vsetvli x0, a0. This patch
moves it to after vector regalloc, but before scalar regalloc so we
still get the benefits of reducing register pressure.
2024-05-07 00:36:47 +08:00

21 KiB