Skip to content

Sort ISL constraints in a type definition for generating code #108

Description

@desaikd

Code generation uses logic to find some of the constraints like type, element in order to determine the final abstract data type. This would be simplified with some sorting of ISL constraints to get name, type(base type) etc.

It seems like there's a fair amount of complexity here that's dedicated to accommodating the ISL fields appearing in unpredictable orders. I think we could easily sort the fields beforehand so we could process them more easily, guaranteeing that we see name before type before element, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code generationImprovements for code generation subcommand `generate`

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions