[llvm-commits] [llvm] r52604 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Dan Gohman gohman at apple.com
Mon Jun 23 09:12:06 PDT 2008


On Sun, June 22, 2008 12:30 am, Duncan Sands wrote:
> Hi Dan,
>
>>    if (N0C && !N1C) {
>> -    SDOperand Ops[] = { N1, N0 };
>> -    return DAG.getNode(ISD::ADDC, N->getVTList(), Ops, 2);
>> +    return DAG.getNode(ISD::ADDC, N->getVTList(), N1, N0);
>>    }
>
> you could drop the braces now that this is only one line.
> Likewise for the others.

Ok, done.

Dan




More information about the llvm-commits mailing list