[LLVMdev] if-conversion

Jonas Wagner jonas.wagner at epfl.ch
Mon Nov 11 02:49:20 PST 2013


Hi,

>
> Sorry to dig up an old thread but I wondered what the status of
> if-conversion in LLVM is. Has any work been done towards handling this as a
> transform pass on the IR?
>

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.

Cheers,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131111/69723357/attachment.html>


More information about the llvm-dev mailing list