Re:Random Acts of Optimization
by tormeh on Thursday October 29, 2015 @04:17PM
(#10473970)
We should have -O4 meaning "however long it takes" or something.
[ Parent
| on HN ]
We already do. That's what high optimisation levels mean.
You're assuming that the hard part is finding optimizable patterns and transforming them, and not deciding whether applying the transformation will actually be an optimization.
In regards to superoptimization, that actually is the case. See this blog post about the use of Souper in LLVM [1].