News for hackers. Stuff that matters.
Re:A Few Synthesizing Superoptimizer Results by rurban on Monday July 27, 2015 @07:37AM (#9954548)
You didn't understand how Souper works. They already found a lot of very good optimizations, which were included into LLVM proper. Check out http://blog.regehr.org/archives/1146 and http://blog.regehr.org/archives/1192

Here he talks about the end-results of Souper and Alive, which should be presented more user-friendly and generalized, with some help from a solver. Encoding every single edge-case into the optimizer is not as good as finding better generalizations, automatically.

Re:A Few Synthesizing Superoptimizer Results by andrewchambers on Monday July 27, 2015 @11:24PM (#9959339)
I understand that is the approach.

Another idea I want to see tried is a source code annotation which indicates to an llvm plugin to run machine specific super optimization on a specific basic block and cache the result. Might be an interesting way to enhance tight loops.

A third idea I had would be to use super optimization as a way of automatically generating isel selectors with only the lowest level descriptions of what the ir and the opcodes do. That is harvest a program for ir sequences, automatically find good mappings to assembly constructs, automatically emit a backend.