[all-commits] [llvm/llvm-project] d97f25: [AMPGPU] Emit s_singleuse_vdst instructions when a...

Scott Egerton via All-commits all-commits at lists.llvm.org
Tue Apr 30 09:14:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d97f25b948554717a163b28dae3cf982a03434ca
      https://github.com/llvm/llvm-project/commit/d97f25b948554717a163b28dae3cf982a03434ca
  Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
    M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir

  Log Message:
  -----------
  [AMPGPU] Emit s_singleuse_vdst instructions when a register is used multiple times in the same instruction. (#89601)

Previously, multiple uses of a register within the same instruction were
being counted as multiple uses. This has been corrected to
only count as a single use as per the specification allowing for
more optimisation candidates.



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