[llvm] [AMDGPU] Make chain functions receive a stack pointer (PR #184616)

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 06:19:00 PST 2026


================
@@ -101,9 +101,7 @@ class AMDGPUMachineFunction : public MachineFunctionInfo {
   bool isChainFunction() const { return IsChainFunction; }
 
   // The stack is empty upon entry to this function.
-  bool isBottomOfStack() const {
-    return isEntryFunction() || isChainFunction();
-  }
+  bool isBottomOfStack() const { return isEntryFunction(); }
----------------
rovka wrote:

I can probably remove this completely in a future commit.

https://github.com/llvm/llvm-project/pull/184616


More information about the llvm-commits mailing list