[all-commits] [llvm/llvm-project] 1abeea: [RISCV] Pass the MachineInstr flag as argument to ...

Raphael Moreira Zinsly via All-commits all-commits at lists.llvm.org
Mon Jul 21 09:55:07 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1abeeabd65e66940adbafcf84e958704a5b3f132
      https://github.com/llvm/llvm-project/commit/1abeeabd65e66940adbafcf84e958704a5b3f132
  Author: Raphael Moreira Zinsly <rzinsly at ventanamicro.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/lib/Target/RISCV/RISCVFrameLowering.h
    A llvm/test/CodeGen/RISCV/stack-probing-frame-setup.mir

  Log Message:
  -----------
  [RISCV] Pass the MachineInstr flag as argument to allocateStack (#147531)

When not in the prologue we do not want to set the FrameSetup flag, by
passing the flag as argument we can use allocateStack correctly on those
cases.
This fixes the allocation and probe in eliminateCallFramePseudoInstr.

(cherry picked from commit 1db9eb23209826d9e799e68a9a4090f0328bf70c)



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