[all-commits] [llvm/llvm-project] 747abb: [AMDGPU] Add `isConvergent=1` to `DS_ATOMIC_*_BARR...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Aug 5 02:15:42 PDT 2026


  Branch: refs/heads/users/pierre-vh/isconvergent-dsbarrier
  Home:   https://github.com/llvm/llvm-project
  Commit: 747abb8167e987963b02698510e99c252e28617f
      https://github.com/llvm/llvm-project/commit/747abb8167e987963b02698510e99c252e28617f
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    A llvm/test/CodeGen/AMDGPU/ds-atomic-barrier-sideeffects.ll

  Log Message:
  -----------
  [AMDGPU] Add `isConvergent=1` to `DS_ATOMIC_*_BARRIER` instructions

The intrinsic already has it. The instructions may issue a wake-up
signal on barrier completion so the set of waves that execute the instruction
may not change.

The test case shows taildup duplicating the MachineInstrs when `isConvergent=0`.

Assisted-By: Claude Opus 4.8
Claude found the reproducer for me after I found the lack of `isConvergent=1` on those
instructions.



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