[all-commits] [llvm/llvm-project] 828255: AMDGPU: Fix clobbering temp reg for large frame in...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Nov 4 20:32:26 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-fix-clobbering-vgpr-frame-index-eliminate
  Home:   https://github.com/llvm/llvm-project
  Commit: 828255588189fe939f6b97df870913fc7c2312c6
      https://github.com/llvm/llvm-project/commit/828255588189fe939f6b97df870913fc7c2312c6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-co-u32.mir
    M llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-u32.mir

  Log Message:
  -----------
  AMDGPU: Fix clobbering temp reg for large frame indexes in VOP3 users

For a VOP3 instruction that does not permit a literal operand with an
SGPR operand, this would re-use the same scratch register for both operands,
clobbering the original value.



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