forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AMDGPU][SILowerSGPRSpills] Insert individual kill instructions
Liveness extention of virtual VGPRs used for SGPR spilling currently inserts a single KILL instruction in the epilogue blocks marking all of them collectively. This prevents their liveranges from being splittable during allocation and leads to unsuccessful allocation when ran out of allocatable registers. This patch introduces separate KILL instruction for each VGPR involved so that their liveness can be successfully splittable. Change-Id: I0e413177c0039d9606e6f88e7c83c7a283a3b3fb
- Loading branch information
Showing
4 changed files
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters