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

Do less redundant work in UnpackBuffers #8104

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

abadams
Copy link
Member

@abadams abadams commented Feb 18, 2024

We were redundantly creating a handle Variable every time we encountered something like foo.stride.0, instead of just the first time we encounter a Variable that refers to an input Parameter/Buffer.

Speeds up this already-fast lowering pass by 10% or so. No measurable impact on total lowering time.

We were redundantly creating a handle Variable every time we encountered
something like foo.stride.0, instead of just the first time we encounter
a Variable that refers to an input Parameter/Buffer.

Speeds up this already-fast lowering pass by 10% or so. No measurable
impact on total lowering time.
@abadams abadams merged commit ef31bf9 into main Feb 22, 2024
19 checks passed
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.

2 participants