-
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][SDISel] Call lowering with stack arguments
This commit implements the lowering of calls when these have stack arguments. The change consists in mainly three things: 1. Populate the CALLSEQ_START/END instructions with the amount of stack space required to hold the outgoing arguments. 2. Issue the stores that populate the stack space with the arguments 3. Assert that the frame lowering used the reserved call mode. This mode allocate the stack space required for all the calls within the current function in the prologue. Without this mode, we would need to adjust the stack pointer before and after each call.
- Loading branch information
Showing
4 changed files
with
388 additions
and
22 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
Oops, something went wrong.