[all-commits] [llvm/llvm-project] 1b7fae: [AMDGPU] Pre-commit test for constant-offset named...

Chinmay Deshpande via All-commits all-commits at lists.llvm.org
Thu Jun 25 14:41:19 PDT 2026


  Branch: refs/heads/users/chinmaydd/named-barrier-gep-offset
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b7faeb1d194ec09230eca295b8e215e40429e0b
      https://github.com/llvm/llvm-project/commit/1b7faeb1d194ec09230eca295b8e215e40429e0b
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/s-barrier-signal-var-gep.ll

  Log Message:
  -----------
  [AMDGPU] Pre-commit test for constant-offset named barrier signal_var

A GEP into a named-barrier array (&bars[1]) lowers s_barrier_signal_var to
the dynamic m0 form on SelectionDAG, unlike the bare global and GlobalISel.
With object linking it emits a runtime add of the offset instead of folding
it into the relocation addend.

Also add a misaligned-offset test: a byte GEP that does not land on a
barrier boundary is valid IR and must not crash the compiler.

Change-Id: I7cea0dd64d050eb3e2143841e7136355cbb3bc50
Assisted-by: Cursor


  Commit: de4a78d03c31811a0cfdeeddd6f18126659a7aad
      https://github.com/llvm/llvm-project/commit/de4a78d03c31811a0cfdeeddd6f18126659a7aad
  Author: Chinmay Deshpande <chdeshpa at amd.com>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:

  Log Message:
  -----------
  Merge branch 'users/chinmaydd/gep-fix-1' into users/chinmaydd/named-barrier-gep-offset


Compare: https://github.com/llvm/llvm-project/compare/720a24a8fe50...de4a78d03c31

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