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

Duncan Sands baldrick at free.fr
Sun Jun 22 00:30:11 PDT 2008


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.

Ciao,

Duncan.



More information about the llvm-commits mailing list