[all-commits] [llvm/llvm-project] 783b91: AMDGPU: Handle folding frame indexes into add with...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Oct 2 13:35:16 PDT 2024
Branch: refs/heads/users/arsenm/amdgpu-si-fold-operands-frame-index-add
Home: https://github.com/llvm/llvm-project
Commit: 783b91f573c0b13a9d7583fc26b6ffbaad830faa
https://github.com/llvm/llvm-project/commit/783b91f573c0b13a9d7583fc26b6ffbaad830faa
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/test/CodeGen/AMDGPU/flat-scratch.ll
M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.gfx10.mir
M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.mir
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.gfx10.ll
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
Log Message:
-----------
AMDGPU: Handle folding frame indexes into add with immediate
Frame index materialization can fold the constant offset into
adds with immediates. The mubuf expansion is more complicated because
we have to also insert the shift, so restrict this to one use for now.
This is preparation to avoid regressions in a future patch.
This also misses some cases due to visitation order. It depends on
the immediate already folding into the instruction.
Commit: b3179670d8cfd4bf5f28c3cc4e907413b6235986
https://github.com/llvm/llvm-project/commit/b3179670d8cfd4bf5f28c3cc4e907413b6235986
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/test/CodeGen/AMDGPU/fold-fi-operand-shrink.mir
M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.gfx10.mir
M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.mir
M llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.gfx10.ll
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
Log Message:
-----------
Handle vop3 cases
Commit: 7fcfce2769f181792d8b9e0ef43681144554c34d
https://github.com/llvm/llvm-project/commit/7fcfce2769f181792d8b9e0ef43681144554c34d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-10-03 (Thu, 03 Oct 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.gfx10.ll
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
Log Message:
-----------
Update tests from rebase
Compare: https://github.com/llvm/llvm-project/compare/b353b20114f4...7fcfce2769f1
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