Closed MasonProtter closed 2 years ago
I learned that apparently you're not supposed to run Julia's optimization pipeline twice
Out of curiosity, does this introduce correctness issues, or just waste (compile) time?
TIL! Interesting...
Out of curiosity, does this introduce correctness issues, or just waste (compile) time?
It is incorrect according to @vchuravy
I learned that apparently you're not supposed to run Julia's optimization pipeline twice, so instead I'm taking some code from Enzyme.jl that mirror's julia's optimization and late lowering steps. This makes it easy for me to get the relocation table between the optimization and post-optimization steps which for now, I think is the right time to do it.
This doesn't seem to introduce any observable differences in the cases I've tested.