[llvm] [RISCV] Loosen the requirement of shadow stack codegen to Zimop (PR #152251)
Jesse Huang via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 08:45:15 PDT 2025
================
@@ -107,7 +107,7 @@ static void emitSCSPrologue(MachineFunction &MF, MachineBasicBlock &MBB,
const DebugLoc &DL) {
const auto &STI = MF.getSubtarget<RISCVSubtarget>();
bool HasHWShadowStack = MF.getFunction().hasFnAttribute("hw-shadow-stack") &&
- STI.hasStdExtZicfiss();
+ STI.hasStdExtZimop();
----------------
jaidTw wrote:
Alright, then I will just use your statement, fixed the comment.
https://github.com/llvm/llvm-project/pull/152251
More information about the llvm-commits
mailing list