Skip to content

Pass to hoist bounded allocas. - #11992

Merged
MaheshRavishankar merged 3 commits into
iree-org:mainfrom
MaheshRavishankar:hoist_bound_allocas
Jan 30, 2023
Merged

MaheshRavishankar merged 3 commits into
iree-org:mainfrom
MaheshRavishankar:hoist_bound_allocas

Conversation

@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

Earlier attempt to create allocations that are statically bounded in the entry basic block did not cover all cases since at time of bufferization it might not be easy to resolve the static bounds. A new pass is added that hoists such allocations after the fact.

Earlier attempt to create allocations that are statically bounded in
the entry basic block did not cover all cases since at time of
bufferization it might not be easy to resolve the static bounds. A new
pass is added that hoists such allocations after the fact.
@MaheshRavishankar
MaheshRavishankar marked this pull request as ready for review January 28, 2023 22:25

@dcaballe dcaballe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this! Minor nits.

@matthias-springer for visibility.

@MaheshRavishankar
MaheshRavishankar enabled auto-merge (squash) January 30, 2023 17:26
@MaheshRavishankar
MaheshRavishankar merged commit 3908ced into iree-org:main Jan 30, 2023
@MaheshRavishankar
MaheshRavishankar deleted the hoist_bound_allocas branch February 2, 2023 06:28
qedawkins pushed a commit to qedawkins/iree that referenced this pull request Apr 2, 2023
Earlier attempt to create allocations that are statically bounded in the entry basic block did not cover all cases since at time of bufferization it might not be easy to resolve the static bounds. A new pass is added that hoists such allocations after the fact.
jpienaar pushed a commit that referenced this pull request May 1, 2023
Earlier attempt to create allocations that are statically bounded in the entry basic block did not cover all cases since at time of bufferization it might not be easy to resolve the static bounds. A new pass is added that hoists such allocations after the fact.
rengolin pushed a commit to plaidml/iree that referenced this pull request May 2, 2023
Earlier attempt to create allocations that are statically bounded in the entry basic block did not cover all cases since at time of bufferization it might not be easy to resolve the static bounds. A new pass is added that hoists such allocations after the fact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants