[all-commits] [llvm/llvm-project] c3cbf1: [AMDGPU] GFX12 VMEM instructions can write VGPR re...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Aug 22 03:43:53 PDT 2024


  Branch: refs/heads/users/foad/vmem-write-vgpr-in-order_split
  Home:   https://github.com/llvm/llvm-project
  Commit: c3cbf1843db8cebfc916ea590539bbf668f615f7
      https://github.com/llvm/llvm-project/commit/c3cbf1843db8cebfc916ea590539bbf668f615f7
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.format.v3f16.ll
    M llvm/test/CodeGen/AMDGPU/load-constant-i16.ll
    M llvm/test/CodeGen/AMDGPU/load-global-i16.ll
    M llvm/test/CodeGen/AMDGPU/load-global-i32.ll
    M llvm/test/CodeGen/AMDGPU/spill-csr-frame-ptr-reg-copy.ll
    M llvm/test/CodeGen/AMDGPU/waitcnt-vmcnt-loop.mir

  Log Message:
  -----------
  [AMDGPU] GFX12 VMEM instructions can write VGPR results out of order

Fix SIInsertWaitcnts to account for this by adding extra waits to avoid
WAW dependencies.



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