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

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu Apr 10 14:41:26 PDT 2025


  Branch: refs/heads/users/ilovepi/rv-fix-stack-probe
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ff8f04ed8d9395290d87e12a443c8fce40d4ca9
      https://github.com/llvm/llvm-project/commit/9ff8f04ed8d9395290d87e12a443c8fce40d4ca9
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-04-10 (Thu, 10 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

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