object cache: hash IR before doing running any opt passes
This lets us to skip running the opt passes when we find a cached object file. This has the disadvantage that opt passes are not allowed to call embedRelocatablePtr() but has the advantage that we could do more costly optimizations in the future without hurting the perf on the second run.
Showing
This diff is collapsed.
Please register or sign in to comment