-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Split and parameterize Core.Compiler.optimize #38287
Conversation
Ok by me, but I've been mostly holding off on compiler work until the 1.6 branch to avoid delaying that any further. |
NVM. I just realized I can put it before finish… |
Yeah I think Tim and I would like to use the AbstractInterpreter work in 1.6 to have a split inference and inference caches for the GPUCompiler work. (This PR is not required for that, but #38370 is) |
I'm copy-pasting the |
:) yeah I was to lazy to do that in https://github.com/vchuravy/KernelCompiler.jl/blob/main/src/optimize.jl |
This changed in JuliaLang/julia#38287
I want to experiment with new compiler passes out-of-tree and for that I need to specialize
optimize
on the AbstractInterpreter.I also split
optimize
into two functions to make re-use easier.