[LLVMdev] if-conversion

Ralf Karrenberg Chareos at gmx.de
Tue Jan 20 02:29:05 PST 2009


Hello everyone,

I'd like to know if there is an optimization in llvm doing something
like an if-conversion on the IR. I only found IfConversion.cpp which
appears to only provide the desired functionality on machine code during
code-generation.

I want to transform branches into serial code with select-instructions
as a pre-processing step for further transformations.

If there is no such pass, I will possibly write one and share it
(although I have no idea how to do so yet), so please let me know :).

Cheers,
Ralf



More information about the llvm-dev mailing list