[llvm-dev] how to generate select-free LLVM IR?

Robert Henry via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 1 16:54:29 PDT 2019


I run "clang ... --emit-llvm ....".  I get LLVM IR select instructions out. I don't want select instructions, but want explicit control flow.

Is there a way to do this?

I'm scared of disabling the SimplifyCFG pass since it appears to do much more than just rewrite to use select statements.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190801/290e2db5/attachment.html>


More information about the llvm-dev mailing list