-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LdStCombine is a function pass. Previously, the newly-created layout struct types are searched by invoking Module's getIdentifiedStructTypes(), so that struct types, created from the previous functions, can be reused whenever possible. But getIdentifiedStructTypes() is costly. Thus, there, we caching struct types in codegencontext for reuse.
- Loading branch information
Showing
2 changed files
with
9 additions
and
24 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