Phil Tomson via llvm-dev
2016-Jun-03 20:33 UTC
[llvm-dev] Which register allocator is used for each -O level?
I notice this from the "Getting Started with LLVM Core Libraries" book: "The default allocator is mapped to one of the four options and is selected depending on the current optimization level (the -O option)." (the four options being pbqp, greedy, basic, fast) Which -O option maps to which of these four options? Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160603/e03a0a66/attachment.html>
Quentin Colombet via llvm-dev
2016-Jun-03 20:57 UTC
[llvm-dev] Which register allocator is used for each -O level?
Hi Phil, O0 should be the fast allocator and anything else should be greedy allocator. Though IIRC, the target can override this behavior. Cheers, -Quentin> On Jun 3, 2016, at 1:33 PM, Phil Tomson via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > I notice this from the "Getting Started with LLVM Core Libraries" book: > > "The default allocator is mapped to one of the four options and is selected > depending on the current optimization level (the -O option)." > > (the four options being pbqp, greedy, basic, fast) > > Which -O option maps to which of these four options? > > Phil > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev