[LLVMdev] which Register allocator to use with llc -O0

Pankaj Gode godepankaj at yahoo.com
Tue Nov 6 06:59:02 PST 2012

We were using "linearscan" register scan with llc -O0 option. As per the llvm blog, this is replaced with greedy register alloation.
But I think, this register allocation (i.e. 'greedy and 'basic') is blocked if used with -O0 option of llc. Only 'fast register allocator' option can be used with -O0. 
I wanted to understand that what will be consequence of forcefully enabling 'greedy allocation' ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121106/15ba29da/attachment.html>

More information about the llvm-dev mailing list