[PATCH] D115996: [AMDGPU] Don't remove VGPR to AGPR dead spills from frame info
Brendon Cahoon via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 22 15:08:03 PST 2021
bcahoon updated this revision to Diff 395937.
bcahoon added a comment.
Changes so that the VGPR to AGPR spill slot can be removed if stack slot coloring has not allocated multiple objects to the same slot. Added a couple extra test cases to check for different cases when the slot can/can't be removed.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115996/new/
https://reviews.llvm.org/D115996
Files:
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
llvm/test/CodeGen/AMDGPU/same-slot-agpr-sgpr.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115996.395937.patch
Type: text/x-patch
Size: 7379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211222/91595a62/attachment.bin>
More information about the llvm-commits
mailing list