[LLVMdev] [PATCH] increase the max number of physical registers

David Goodwin david_goodwin at apple.com
Wed Dec 9 11:40:02 PST 2009


Sending        lib/CodeGen/AggressiveAntiDepBreaker.cpp
Sending        lib/CodeGen/AggressiveAntiDepBreaker.h
Sending        lib/CodeGen/CriticalAntiDepBreaker.cpp
Sending        lib/CodeGen/PostRASchedulerList.cpp
Transmitting file data ....
Committed revision 90970.

On Dec 8, 2009, at 5:34 PM, Evan Cheng wrote:

> 
> On Dec 8, 2009, at 3:31 PM, Jakob Stoklund Olesen wrote:
> 
>> 
>> On Dec 8, 2009, at 11:33 AM, Evan Cheng wrote:
>> 
>>> This caused a massive slow down to post-ra scheduler (llc -O3 on x86, -O2 on ARM). I'm going to revert it for now until it has been addressed.
>> 
>> Probably caused by this member:
>> 
>>   /// KillIndices - The index of the most recent kill (proceding bottom-up),
>>   /// or ~0u if the register is not live.
>>   unsigned KillIndices[TargetRegisterInfo::FirstVirtualRegister];
>> 
>> And this:
>> 
>> std::fill(KillIndices, array_endof(KillIndices), ~0u);
>> 
>> It should probably be dynamically allocated with TRI->getNumRegs() members instead.
> 
> Yep. David Goodwin is going to fix it.
> 
> Evan
> 
>> 
>> /jakob
>> 
> 





More information about the llvm-dev mailing list