<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="RIGHT: auto">Hi,</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">We were using "linearscan" register scan with llc -O0 option. As per the llvm blog, this is replaced with greedy register alloation.</div>
<div style="RIGHT: auto"><A style="RIGHT: auto" href="http://blog.llvm.org/2011/09/greedy-register-allocation-in-llvm-30.html">http://blog.llvm.org/20<VAR id=yui-ie-cursor></VAR>11/09/greedy-register-allocation-in-llvm-30.html</A></div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">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. </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">I wanted to understand that what will be consequence of forcefully enabling 'greedy allocation' ?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Regards,</div>
<div style="RIGHT: auto">Pankaj</div>
<div style="RIGHT: auto"> </div></div></body></html>