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.
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..
> LLVM Developers mailing list
> [hidden email]http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev