[llvm] [RISCV] Separate HW/SW shadow stack on RISC-V (PR #112478)
Ming-Yi Lai via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 01:03:09 PDT 2024
================
@@ -73,7 +77,7 @@ static void emitSCSPrologue(MachineFunction &MF, MachineBasicBlock &MBB,
return;
const RISCVInstrInfo *TII = STI.getInstrInfo();
- if (!STI.hasForcedSWShadowStack() && STI.hasStdExtZicfiss()) {
+ if (HasHWShadowStack) {
BuildMI(MBB, MI, DL, TII->get(RISCV::SSPUSH)).addReg(RAReg);
----------------
mylai-mtk wrote:
Actually I ran into a similar problem with my other patch, and kito expressed that they would try to accommodate this at <https://github.com/llvm/llvm-project/pull/109600#issuecomment-2375827448> if I understand it correctly ("Craig and me will fix that on the back-end side :P").
Not sure how's their progress though.
https://github.com/llvm/llvm-project/pull/112478
More information about the llvm-commits
mailing list