<div dir="ltr">Hi,<br><div class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Sorry to dig up an old thread but I wondered what the status of<br>
if-conversion in LLVM is. Has any work been done towards handling this as a<br>
transform pass on the IR?<br></blockquote><div><br></div></div><div>As far as I know, some if-conversion is done in SimplifyCFG: Have a look at the SpeculativelyExecuteBB function in lib/Transforms/Utils/SimplifyCFG.cpp.</div>
<div><br></div><div>Cheers,</div><div>Jonas</div></div></div></div>
</div><br></div>