[LLVMdev] Attempting to Calculate the number of spills
Andrew Stanford-Jason
andrew at xmos.com
Tue Apr 24 07:31:42 PDT 2012
On 04/23/12 17:40, Daniel Graham wrote:
> I would like to calculate the number of spill that are inserted into
> the code does anyone know where I should start.
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Start with passing -stats and look for:
3 regalloc - Number of spills inserted
2 regalloc - Number of splits finished
Is that what you want?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120424/cb768b83/attachment.html>
More information about the llvm-dev
mailing list