[LLVMdev] llvm 'select' instruction

Sam Parker S.Parker3 at lboro.ac.uk
Sun Apr 14 06:36:19 PDT 2013


Hi,

If you run the simplify-cfg pass, select instructions should get generated.

Regards,
Sam

On 14/04/2013 14:17, Dong Chen wrote:
> hello guys:
> i am thinking about what kind of C instructions can turn into llvm IR
> 'select' instruction.
> i tried "d=a?b:c" and compiled it using clang, i still didn't get 'select'
> is there anybody who knows this?
> thank you
>
>
>
> --
> View this message in context: http://llvm.1065342.n5.nabble.com/llvm-select-instruction-tp56719.html
> Sent from the LLVM - Dev mailing list archive at Nabble.com.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list