[all-commits] [llvm/llvm-project] 0ba1dd: AMDGPU: Fix s_barrier_leave to write to scc

Petar Avramovic via All-commits all-commits at lists.llvm.org
Tue Sep 30 02:05:37 PDT 2025


  Branch: refs/heads/users/petar-avramovic/s_barrier_leave
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ba1dde4b359a102189e383f170d484dbc2253c6
      https://github.com/llvm/llvm-project/commit/0ba1dde4b359a102189e383f170d484dbc2253c6
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    M llvm/test/CodeGen/AMDGPU/s-barrier.ll

  Log Message:
  -----------
  AMDGPU: Fix s_barrier_leave to write to scc

s_barrier_leave implicitly defines $scc
and does not use imm that represents type of barrier,
isel pattern ignores imm operand from llvm intrinsic.
Test if SIInsertWaitcnts tracks this scc write.



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