[LLVMdev] Generating unusual instruction
vsp1729 at gmail.com
Mon Jan 7 02:55:35 PST 2013
I have seen that most of the targets do comparison and branching
in two separate instructions e.g. 'cmpl' followed by 'br' in x86 or the
LLVM IR is also in same manner.
I want to implement comparison+branching in one instruction like
beq r1, r2, .label #if r1==r2 then jump to .label
How to merge two instruction into one.
View this message in context: http://llvm.1065342.n5.nabble.com/Generating-unusual-instruction-tp53192.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev