[all-commits] [llvm/llvm-project] 3397c3: Inline stack probes immediately after `allocateSta...
CSharperMantle via All-commits
all-commits at lists.llvm.org
Thu Jun 11 20:23:43 PDT 2026
Branch: refs/heads/release/22.x
Home: https://github.com/llvm/llvm-project
Commit: 3397c37d5d31e4d4cf1226ba1c36824aa2287252
https://github.com/llvm/llvm-project/commit/3397c37d5d31e4d4cf1226ba1c36824aa2287252
Author: Rong "Mantle" Bao <rong.bao at csmantle.top>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
A llvm/test/CodeGen/RISCV/stack-probing-dynamic-nonentry.ll
Log Message:
-----------
Inline stack probes immediately after `allocateStack` in `eliminateCallFramePseudoInstr` (#195456)
[ Upstream commit 589faedadf141e5e63f7a1e92a0327fc9bdc9b09 ]
Revert `bltu` in probing loops to `blt` because commit
f162be248636046a20e71209e139347e084b637a isn't applied on release/22.x
yet.
Link: https://github.com/llvm/llvm-project/pull/192485 ("[RISCV] Use
unsigned comparison for stack clash probing loop")
---
This PR adds a call to `inlineStackProbe` immediately after
`allocateStack` in `eliminateCallFramePseudoInstr`. This allows code
generation for stack probe pseudoinstructions in non-entry BBs.
Fixes #195454.
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