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

Bill Wendling isanbard at gmail.com
Sun Oct 19 23:26:53 PDT 2008


On Oct 19, 2008, at 8:02 PM, Duncan Sands wrote:

> Hi Bill,
>
>> @@ -4208,6 +4218,7 @@
>>   if (NumOps > N->NumOperands) {
>>     if (N->OperandsNeedDelete)
>>       delete[] N->OperandList;
>> +
>>     if (N->isMachineOpcode()) {
>>       // We're creating a final node that will live unmorphed for the
>>       // remainder of the current SelectionDAG iteration, so we can  
>> allocate
>
> is it needed here too?
>
I had it there at first, but then noticed that the N->OperandList is  
assigned right afterwards, so I didn't add it.

-bw




More information about the llvm-commits mailing list