[all-commits] [llvm/llvm-project] 8e61aa: AMDGPU: Fix illegal commute with frame index (#114...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Nov 1 10:02:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e61aaa0211a7d064139f29bebba833b7f3d1d18
      https://github.com/llvm/llvm-project/commit/8e61aaa0211a7d064139f29bebba833b7f3d1d18
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/commute-frame-index-operand.mir
    M llvm/test/CodeGen/AMDGPU/eliminate-frame-index-v-add-u32.mir

  Log Message:
  -----------
  AMDGPU: Fix illegal commute with frame index (#114497)

In ca409892c5396fa3fbb8ea4dbf53d0e952f36d09, frame indexes started
being treated more like registers, rather than immediates. Update
the commute logic to avoid failing the verifier by moving illegal
SGPR operands in place of a frame index.



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