[all-commits] [llvm/llvm-project] 52af23: [RISCV] Add stack probing in eliminateCallFramePse...

Raphael Moreira Zinsly via All-commits all-commits at lists.llvm.org
Fri May 16 09:41:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52af23f950bc9585c623bfff6ac2a7d4fbe5e18a
      https://github.com/llvm/llvm-project/commit/52af23f950bc9585c623bfff6ac2a7d4fbe5e18a
  Author: Raphael Moreira Zinsly <rzinsly at ventanamicro.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/stack-probing-dynamic.ll

  Log Message:
  -----------
  [RISCV] Add stack probing in eliminateCallFramePseudoInstr (#139731)

Stack clash protection code was missing from
RISCVFrameLowering::eliminateCallFramePseudoInstr, calling allocateStack
fixes it.
This patch also fixes the tests in stack-probing-dynamic.ll that should
be testing the stack allocation before a function call.



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