[all-commits] [llvm/llvm-project] 259d50: AMDGPU: Make frame index folding logic consistent ...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Mar 3 18:54:33 PST 2025
Branch: refs/heads/users/arsenm/amdgpu/make-frameIndexMayFold-consistent-eliminateFrameIndex
Home: https://github.com/llvm/llvm-project
Commit: 259d50ba23b92666d579ed8d3110ccf9552ff371
https://github.com/llvm/llvm-project/commit/259d50ba23b92666d579ed8d3110ccf9552ff371
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-03-04 (Tue, 04 Mar 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/test/CodeGen/AMDGPU/fold-operands-frame-index.mir
M llvm/test/CodeGen/AMDGPU/fold-operands-s-add-copy-to-vgpr.mir
M llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
M llvm/test/CodeGen/AMDGPU/huge-private-buffer.ll
M llvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
Log Message:
-----------
AMDGPU: Make frame index folding logic consistent with eliminateFrameIndex
This adds handling of s_add_u32, which is handled and removes handling of
s_or_b32 and s_and_b32, which are not. I was working on handling them
in #102345, but need to finish that patch. This fixes a regression
exposed by a3165398db0736588daedb07650195502592e567 where the
final instruction would use two literals.
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