[llvm-dev] Which register allocator is used for each -O level?
Quentin Colombet via llvm-dev
llvm-dev at lists.llvm.org
Fri Jun 3 13:57:42 PDT 2016
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
More information about the llvm-dev
mailing list