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

Erase static sizes above some threshold. #16850

Open
bjacob opened this issue Mar 20, 2024 · 0 comments
Open

Erase static sizes above some threshold. #16850

bjacob opened this issue Mar 20, 2024 · 0 comments

Comments

@bjacob
Copy link
Contributor

bjacob commented Mar 20, 2024

Early on around GlobalOptimization, we should just rewrite large static sizes into dynamic sizes. There is no point carrying large static sizes around, and doing so before dispatch region formation will lead to far fewer dispatch functions being created, which will be a large compilation-time speedup, see #16848.

Later in compilation, we do things that require certain sizes to be constant: for instance, vectorization. But if we do the rewrite early on, these considerations shouldn't enter the picture.

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

No branches or pull requests

1 participant