[all-commits] [llvm/llvm-project] 4e5fa3: [RISCV] Mark HW shadow stack ops as frame setup/de...

Sergey Stepanov via All-commits all-commits at lists.llvm.org
Fri Jun 12 18:06:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e5fa3bbabdf304975abf9eea59bc44d72277169
      https://github.com/llvm/llvm-project/commit/4e5fa3bbabdf304975abf9eea59bc44d72277169
  Author: Sergey Stepanov <23sas32 at gmail.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    A llvm/test/CodeGen/RISCV/shadowcallstack-frame-flags.ll

  Log Message:
  -----------
  [RISCV] Mark HW shadow stack ops as frame setup/destroy (#203362)

This change follows up on PR #200182 and addresses the issue in the
[related
comment](https://github.com/llvm/llvm-project/pull/200182#discussion_r3329197379).

It sets `FrameSetup` on SSPUSH/C_SSPUSH and `FrameDestroy` on SSPOPCHK
instructions emitted by RISCVFrameLowering for the HW shadow stack path.
The test was written manually (instead of using
`utils/update_mir_test_checks.py`) to keep it simple and avoid
unnecessary fragility.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list