[PATCH] D129179: [RISCV] Extend use of SHXADD instructions in RVV spill/reload code.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 20:26:44 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:1823
+ BuildMI(MBB, II, DL, get(RISCV::SLLI), VL)
+ .addReg(VL)
+ .addImm(ShiftAmount)
----------------
This needs RegState::Kill because it ends the lifetime of the previous definition of VL.
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