[LLVMdev] -Os

Sean Silva silvas at purdue.edu
Sat Feb 23 12:39:28 PST 2013


On Sat, Feb 23, 2013 at 2:06 PM, David Chisnall
<David.Chisnall at cl.cam.ac.uk> wrote:
> On 23 Feb 2013, at 18:54, Reed Kotler <rkotler at mips.com> wrote:
>
>> Hmmm. You don't remember which tweaks you tried?
>
>
> I don't, I'm afraid.  I more or less just ran opt with vaguely sensible sounding combinations of passes to find the smallest one.  Eventually we just removed some features from the bootloader to make it fit.  One of the things on my to-do-eventually list if to set up a simulated annealing run to try permuting optimisation combinations and then running some benchmarks on size and speed to see if we can improve the default set.

In a similar vein:
<http://donsbot.wordpress.com/2010/03/01/evolving-faster-haskell-programs-now-with-llvm/>.

-- Sean Silva




More information about the llvm-dev mailing list