[all-commits] [llvm/llvm-project] 414c46: [AMDGPU] Modify Dyn Alloca test to account for Mac...

Aaditya via All-commits all-commits at lists.llvm.org
Wed Dec 18 02:38:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 414c462a839edbcbed217b8d695e71f2ede7f952
      https://github.com/llvm/llvm-project/commit/414c462a839edbcbed217b8d695e71f2ede7f952
  Author: Aaditya <115080342+easyonaadit at users.noreply.github.com>
  Date:   2024-12-18 (Wed, 18 Dec 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll

  Log Message:
  -----------
  [AMDGPU] Modify Dyn Alloca test to account for Machine-Verifier bug (#120393)

Machine-Verifier crashes in kernel functions, 
but fails gracefully in device functions.

This is due to the buffer resource descriptor selected
during G-ISEL, before the fallback path. 
Device functions use `$sgpr0_sgpr1_sgpr2_sgpr3`.
while Kernel functions select `$private_rsrc_reg` 
where machine-verifier complains: 
`$private_rsrc_reg is not a SReg_128 register.`

Modifying test case to capture both behaviors, this is related to
https://github.com/llvm/llvm-project/pull/120063



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