[LLVMdev] Implementing select_cc without cmov
someguy
just.s0m3.guy+llvmdev at gmail.com
Sun Mar 22 02:41:49 PDT 2009
Hi All,
I need to implement select_cc as a "cmp; mov rX,1; brcond cnd, END;
mov rX,0; END:" sequence.
Chris mentioned that the PPC code (as well as the x86 SSE code) does
this, but I can't seem to find it.
What I really need to kmow is how to insert the branch/label pair at
instruction selection phase.
Anyone have an example of this?
More information about the llvm-dev
mailing list