[all-commits] [llvm/llvm-project] 76189d: [AMDGPU] Initialize FrameOffsetReg for amdgpu_cs_c...

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


  Branch: refs/heads/users/jofrn/fix-amdgpu-cs-chain-frame-pointer
  Home:   https://github.com/llvm/llvm-project
  Commit: 76189d654993fad2c4c4523d1095f1f0b34aeb5e
      https://github.com/llvm/llvm-project/commit/76189d654993fad2c4c4523d1095f1f0b34aeb5e
  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.

This LLVM defect was identified via the AMD Fuzzing project.



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