[all-commits] [llvm/llvm-project] 52cb3a: [AMDGPU] Remove dead frame indices after sgpr spill.
Mahesha S via All-commits
all-commits at lists.llvm.org
Mon Oct 11 21:29:39 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52cb3af08c2ac917557d67bbbf8a91cb80bed6fc
https://github.com/llvm/llvm-project/commit/52cb3af08c2ac917557d67bbbf8a91cb80bed6fc
Author: hsmahesha <mahesha.comp at gmail.com>
Date: 2021-10-12 (Tue, 12 Oct 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
A llvm/test/CodeGen/AMDGPU/sgpr-spill-incorrect-fi-bookkeeping-bug.ll
Log Message:
-----------
[AMDGPU] Remove dead frame indices after sgpr spill.
All those frame indices which are dead after sgpr spill should be removed from
the function frame. Othewise, there is a side effect such as re-mapping of free
frame index ids by the later pass(es) like "stack slot coloring" which in turn
could mess-up with the book keeping of "frame index to VGPR lane".
Reviewed By: cdevadas
Differential Revision: https://reviews.llvm.org/D111150
More information about the All-commits
mailing list