[Mesa-dev] [PATCH] register_allocate: Fix the type of best_benefit.

Matt Turner mattst88 at gmail.com
Wed Apr 3 12:04:01 PDT 2013


On Tue, Apr 2, 2013 at 2:28 PM, Tom Stellard <tom at stellard.net> wrote:
> On Tue, Apr 02, 2013 at 01:38:07PM -0700, Matt Turner wrote:
>> ---
>
> Nice catch, will this change have any affect on the compiled code?

I think so, in this block:

if (benefit / cost > best_benefit) {
   best_benefit = benefit / cost;
   best_node = n;
}


More information about the mesa-dev mailing list