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.
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.