[LLVMdev] Handling "adde" nodes !!

Evan Cheng evan.cheng at apple.com
Tue Feb 5 11:33:33 PST 2008


I don't see any code in legalizer that expands adde nodes. You may  
have to custom expand them at scheduling time by creating new basic  
blocks and conditional code.  Look for references to  
usesCustomDAGSchedInserter in td files.

I am sure others will have better suggestions.

Evan

On Feb 5, 2008, at 5:54 AM, Sanjiv Gupta wrote:

> Any idea how to handle "adde" nodes for processors that do not have  
> an "add with carry" instruction?
> In our case, we rely on "carry test" and "increment" instrunctions.
> Any reference to a similiar existing LLVM target will be helpful..
>
> TIA,
> Sanjiv
> _______________________________________________
> 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