[LLVMdev] Greedy register allocation

David A. Greene greened at obbligato.org
Thu May 5 15:28:26 PDT 2011


Chris Lattner <clattner at apple.com> writes:

> I don't know how realistic it is to model the loop buffer in the
> register allocator, but this would a very interesting thing to try to
> optimize for in a later pass.  If an inner loop "almost" fits, then it
> would probably be worth heroic effort to try to reduce the size of it
> to shave off a few bytes.

I like this approach as well as it could cover a number of peephole-type
optimizations.

                              -Dave



More information about the llvm-dev mailing list