-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge
Type
and Aggregate
into a copyable Type
This is the second step towards achieving #2819. Combining Type and Aggregate into a single data structure enables offset computations for complex indexing (i.e., a nesting of arrays and structs) which will be needed when we introduce GEPs. The new function `get_indexed_type` does this computation. The core of this PR is in `irtype.rs`. Everything else is just to accommodate that.
- Loading branch information
1 parent
77bb26e
commit 2614961
Showing
22 changed files
with
843 additions
and
705 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
Oops, something went wrong.