-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[H2BLB][InstrInfo] Implement hooks for spills
This commit implements the two hooks used to spill and reload values. Although this will be used by the register allocator when spilling value, they are also used by the target-independent code in the prologue/epilogue inserter to save and restore the callee saved registers. For the frame lowering, the CSRs can also be handled with the following two hooks: - TargetFrameLowering::spillCalleeSavedRegisters - TargetFrameLowering::restoreCalleeSavedRegisters For our target we do not use them because the regular spill/reload sequence is good enough.
- Loading branch information
Showing
3 changed files
with
103 additions
and
0 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