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