Feldspar / feldspar-compiler

This is the compiler for the Feldspar Language.
Other
22 stars 5 forks source link

Make the structure of arrays visible in the generated code. #253

Closed kffaxen closed 4 years ago

kffaxen commented 4 years ago

Before this commit, an array has been represented as a pointer to a generic struct array, defined in the array library, independent of their element type. This commit introduces type a specific array representation in terms of Program level structs, making the array representation explicit in the generated program. This is a pre requisite for further array optimizations.

pjonsson commented 4 years ago

Travis has intermittent issues so merging this as-is and there will be a follow-up commit to address the remaining issues.