[PATCH] D129179: [RISCV] Extend use of SHXADD instructions in RVV spill/reload code.
Jianjian Guan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 12 01:23:03 PDT 2022
jacquesguan marked an inline comment as done.
jacquesguan added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:1823
+ BuildMI(MBB, II, DL, get(RISCV::SLLI), VL)
+ .addReg(VL)
+ .addImm(ShiftAmount)
----------------
craig.topper wrote:
> This needs RegState::Kill because it ends the lifetime of the previous definition of VL.
Done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129179/new/
https://reviews.llvm.org/D129179
More information about the llvm-commits
mailing list