[llvm-commits] [llvm] r76849 - in /llvm/trunk/lib/CodeGen: PHIElimination.cpp PHIElimination.h

Lang Hames lhames at gmail.com
Wed Jul 22 22:09:38 PDT 2009


>> +  // Record PHI def.
>> +  //assert(!hasPHIDef(DestReg) && "Vreg has multiple phi-defs?");
>> +  //PHIDefs[DestReg] = &MBB;
>
> this doesn't do much.
>
>> +    // Record the kill.
>> +    //PHIKills[SrcReg].insert(&opBlock);
>
> Neither does this :)

Everyone's a critic. ;)
It's a good thing it's commented out - turns out it breaks an ARM case
or two. Looking into it now.

- Lang.




More information about the llvm-commits mailing list