Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize array get functions. (#6925)
@mahge Normalize array get functions. 2239e6d - Use the generic_array_get function for al types. - If this works out we can remove most *_array_element_address functions and simplify simrt array methods a bit. @mahge Specialized get functions for 1 and 2 dimensions. c5e8240 - Added *_array_get1 and *_array_get2 for 1 and 2 sized dimensions respectively. This is just to avoid variadic ap lists for this common array cardinalities. @mahge Remove one _array_element function generation. 67b9724 - We remove them one by by to simplify debugging since tests will probably fail at some point. @mahge Remove more *_array_element_addr generations. 5273e69 @mahge Remove more *_array_element_addr generations. 370485c @mahge Remove generic_array_element_addr generations. 7a63655 @mahge Test failed successfully! c2785ac -The test was supposed to fail but was passing so it was marked as "failing". Now it fails as expected but it fails at runtime instead of Flattening where it was expected to fail ideally I guess.
- Loading branch information
Showing
4 changed files
with
46 additions
and
20 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