<br><div>Hello :)</div><div><br></div><div>I am looking around __builtin_expect() directive for optimization.</div><div>( <a href="http://llvm.org/docs/BranchWeightMetadata.html">http://llvm.org/docs/BranchWeightMetadata.html</a> )</div>
<div>Since it is not included in v2.9, I am searching about it on svn trunk.</div><div><br></div><div>I found that the lowering phase generates branch-weight metadata node for that directive.</div><div>However, I can't find any code related to the metadata even in the branch transformation code.</div>
<div>IMHO, in case the branch direction is, for example, reversed for optimization,</div><div>the corresponding branch-weight metadata also has to be changed.</div><div><br></div><div>In what code can I find such a metadata management code ?</div>
<div>Can anyone give me a hint ?</div><div><br></div><div>Thank you.</div><div>Have a nice day. :)</div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div>Hae-woo Park</div><div><br></div><div><br></div>