[LLVMdev] IR Passes and TargetTransformInfo: Straw Man

Sean Silva chisophugis at gmail.com
Mon Jul 29 16:38:54 PDT 2013


On Mon, Jul 29, 2013 at 4:24 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> Out of curiosity, has anyone tried to optimize the pass ordering in some
> (quasi-)automated way? Naively, a genetic algorithm seems like a perfect
> fit for this.
>

This is the closest I've seen:
http://donsbot.wordpress.com/2010/03/01/evolving-faster-haskell-programs-now-with-llvm/


However, it deals with a "toy" example. Doing something similar over an
entire benchmark suite would be interesting (and it may find non-obvious,
highly-profitable interactions between passes that we aren't currently
exploiting).

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130729/59af46da/attachment.html>


More information about the llvm-dev mailing list