forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AOT] Remove lookup parameter function in AOT (apache#7988)
* AOT] Remove lookup parameter function in AOT This PR aims at removing the function call to extract the parameters within the AOT main function by introducing a tir::lookup_param builtin. This has different benefits: - In AOT we now only use the v_handle field - We save cycles by not calling an intermediate function to extract local parameters - We reduce code size, since we don't need to pack a call to extract parameters and we don't need to produce the lookup_param function anymore within the compilation unit Change-Id: I36c2f0724a79606424a4374f4f5cd669bb2a8a55 * addressing comments Change-Id: I83ba0189f559d310b5a80fe0bcc4d601b490d21a * retrigger CI Change-Id: I84ab4a526d1284ded41fe95636e94c15412f6b28
- Loading branch information
Giuseppe Rossini
authored
May 20, 2021
1 parent
ec3b160
commit 71ff875
Showing
6 changed files
with
45 additions
and
37 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
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