Skip to content

Adding once attribute to stream.cmd.execute. - #18043

Merged
benvanik merged 1 commit into
mainfrom
users/benvanik/cmd-execute-once
Jul 30, 2024
Merged

benvanik merged 1 commit into
mainfrom
users/benvanik/cmd-execute-once

Conversation

@benvanik

Copy link
Copy Markdown
Collaborator

For now we set this flag only if the op is used in the entry block of an initializer. A must-be-executed analysis (and others) could be run to set it instead for cases where we call functions from initializers but we don't tend to do that today.

Progress on #17875.

@benvanik benvanik added the compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) label Jul 30, 2024
@benvanik
benvanik requested a review from ScottTodd July 30, 2024 16:44
@benvanik
benvanik enabled auto-merge (squash) July 30, 2024 16:54
@benvanik
benvanik disabled auto-merge July 30, 2024 16:54
For now we set this flag only if the op is used in the entry block of
an initializer. A must-be-executed analysis (and others) could be run to
set it instead for cases where we call functions from initializers but
we don't tend to do that today.
@benvanik
benvanik force-pushed the users/benvanik/cmd-execute-once branch from d074f2a to 128f232 Compare July 30, 2024 17:08
@benvanik
benvanik enabled auto-merge (squash) July 30, 2024 17:09
@benvanik
benvanik merged commit 2c638f3 into main Jul 30, 2024
@benvanik
benvanik deleted the users/benvanik/cmd-execute-once branch July 30, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants