[LLVMdev] [LLVMDev] The Basic Register allocator
Jeff Kunkel
jdkunk3 at gmail.com
Thu Oct 28 16:41:49 PDT 2010
I understand the mechanics. I don't know why a lesser weight is better
than a greater weight.
On Thu, Oct 28, 2010 at 7:22 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
>
> On Oct 28, 2010, at 4:05 PM, Jeff Kunkel wrote:
>
>> I was studying the basic register allocator, and I am wondering why
>> "LessSpillWeightPriority" priority was used over the greater weight.
>
> Because the front of std::priority_queue is the largest element given the ordering.
>
>
>
More information about the llvm-dev
mailing list