<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [llvm-commits] [llvm] r68576 - in /llvm/trunk: include/llvm/Target/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/X86/ test/CodeGen/X86/</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>>>> +  assert(Op.getNode()->getNumValues() == 1 &&<BR>
>>> +         "ShrinkDemandedOp only supports nodes with one result!");<BR>
>>> +<BR>
>> This assert breaks via visitADD, when the ADD operation also <BR>
>> produces a<BR>
>> carry, so Op.getNode()->getNumValues() is 2 there.<BR>
<BR>
>ADD always has one result. ADDC and UADDO are used to represent an add<BR>
>with a carry result.<BR>
<BR>
>Dan<BR>
<BR>
Thanks Dan,<BR>
This helped us figure out a mistake where we were lowering an ADD to ADDC in PIC16 port.<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>