[llvm-commits] Machine Branch Probability Info

Jakub Staszak jstaszak at apple.com
Mon Jun 13 11:37:13 PDT 2011


Hello,

This patch introduces MachineBranchProbabilityInfo class, which has similar API to BranchProbabilityInfo (except setEdgeWeight which is not available here). Branch Weights are keep in MachineBasicBlock. They have the same order (and length) as Successors vector. You can turn off this analysis using -use-mbpi=false. Comments are welcome.

Thanks!
-- 
Jakub Staszak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbpi_mbb.patch
Type: application/octet-stream
Size: 16729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110613/c54ac276/attachment.obj>


More information about the llvm-commits mailing list