[all-commits] [llvm/llvm-project] b3d2dc: [RISCV] Fix assertion failure when using -fstack-c...

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Apr 18 09:13:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3d2dc321c5c78b7204696afe07fe6ef3375acfd
      https://github.com/llvm/llvm-project/commit/b3d2dc321c5c78b7204696afe07fe6ef3375acfd
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-04-18 (Fri, 18 Apr 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    A llvm/test/CodeGen/RISCV/pr135206.ll

  Log Message:
  -----------
  [RISCV] Fix assertion failure when using -fstack-clash-protection (#135248)

We can't assume MBBI is still pointing at MBB if we've already expanded
a probe. We need to re-query the MBB from MBBI. Fixes #135206

Co-authored-by: Craig Topper <craig.topper at sifive.com>



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