[LLVMdev] Using branches in lowered operations
evan.cheng at apple.com
Thu Dec 10 22:52:12 PST 2009
let usesCustomInserter = 1, isTwoAddress = 0, Defs = [EFLAGS] in
def CMOV_GR8 : I<0, Pseudo,
This creates a CMOV_GR8 pseudo instruction at isel time which can be expanded during scheduling time.
On Dec 10, 2009, at 11:46 AM, Javier Martinez wrote:
> My expansion for an operation uses if and loops. How do I introduce
> branches in the target lowering stage? Do I have to create basic blocks,
> add the instructions to them and and add them to the machine function's
> basic block list?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev