3 ms·
We should have -O4 meaning "however long it takes" or something.
by tormeh 11y ago
We should have -O4 meaning "however long it takes" or something.
- joosters 11y agoWe already do. That's what high optimisation levels mean.
- Jweb_Guru 11y agoYou'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.
- bmh100 11y agoIn regards to superoptimization, that actually is the case. See this blog post about the use of Souper in LLVM [1]. [1]: http://blog.regehr.org/archives/1146 http://blog.regehr.org/archives/1146
- Jweb_Guru 11y agoThat blog post (which I've read) doesn't provide any evidence for that (or even talk about it), and only discusses a small subset of optimizations.