[all-commits] [llvm/llvm-project] 18331e: [AMDGPU] Initialize FrameOffsetReg for amdgpu_cs_c...

jofrn via All-commits all-commits at lists.llvm.org
Wed Oct 29 00:00:20 PDT 2025


  Branch: refs/heads/users/jofrn/fix-amdgpu-cs-chain-frame-pointer
  Home:   https://github.com/llvm/llvm-project
  Commit: 18331e04ce8cd0c846701262bb8108c147d6777e
      https://github.com/llvm/llvm-project/commit/18331e04ce8cd0c846701262bb8108c147d6777e
  Author: jofrn <jofernau at amd.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
    A llvm/test/CodeGen/AMDGPU/amdgpu-cs-chain-frame-pointer.ll

  Log Message:
  -----------
  [AMDGPU] Initialize FrameOffsetReg for amdgpu_cs_chain functions

Functions with the amdgpu_cs_chain calling convention were not
initializing FrameOffsetReg, leaving it as FP_REG.
This caused machine code verification failures
as SCRATCH_STORE_DWORD_SADDR instructions require the saddr
operand to be in the SReg_32_XEXEC_HI register class.



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