[llvm-commits] [llvm] r76680 - in /llvm/trunk/lib/CodeGen: LiveInterval.cpp SimpleRegisterCoalescing.cpp
Bill Wendling
isanbard at gmail.com
Tue Jul 21 17:13:32 PDT 2009
Thanks, Dave! :)
-bw
On Tue, Jul 21, 2009 at 5:07 PM, David Greene<dag at cray.com> wrote:
> On Tuesday 21 July 2009 18:59, Bill Wendling wrote:
>
>> > + else if (Other.weight != HUGE_VALF) {
>> > + weight += Other.weight;
>>
>> Since this is the only option available at this time, please make
>> this the first "if-then" statement instead of the one above it, which
>> asserts all of the time.
>
> Yep, makes sense.
>
>> > + }
>> > + else {
>> > + // Remove this assert if you have an iterative coalescer
>> > + assert(0 && "Joining from spilled interval");
>> > + }
>> > + // Otherwise the weight stays the same
>>
>> This comment is confusing. Should it be moved into the "-else" part?
>
> Oops. I forgot to move it after adding the assert.
>
> -Dave
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list