[all-commits] [llvm/llvm-project] fccd15: AMDGPU: Handle folding frame indexes into add with...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue Oct 1 13:41:46 PDT 2024
Branch: refs/heads/users/arsenm/amdgpu-si-fold-operands-frame-index-add
Home: https://github.com/llvm/llvm-project
Commit: fccd15f8530a1d685046e2f7ee248677380f0749
https://github.com/llvm/llvm-project/commit/fccd15f8530a1d685046e2f7ee248677380f0749
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-10-02 (Wed, 02 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.
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