Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ibis] Call preparation pass -- part 1 #5683

Merged
merged 4 commits into from
Jul 27, 2023

Conversation

teqdruid
Copy link
Contributor

Lowering the Ibis control flow starts with converting all calls to the DC dialect's values with one struct representing the packed arguments.

In the interest of having small PRs, this only implements narrowing the arguments to one struct. Part 2 will then wrap them in DC values.

Lowering the Ibis control flow starts with converting all calls to the
DC dialect's values with one struct representing the packed arguments.

In the interest of having small PRs, this only implements narrowing the
arguments to one struct. Part 2 will then wrap them in DC values.
Copy link
Contributor

@mortbopet mortbopet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. To make sure we're going down the right path here, i'd really like to see a piece of high-level IBIS IR containing non-trivial logic which we expect will be the output of the AST conversion.

lib/Dialect/Ibis/Transforms/IbisCallPrep.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@blakep-msft blakep-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teqdruid teqdruid merged commit d4b591e into main Jul 27, 2023
5 checks passed
@teqdruid teqdruid deleted the dev/teqruid/ibis/structural-lowering branch July 27, 2023 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants