[llvm-commits] [llvm] r112841 - in /llvm/trunk: lib/Target/ARM/ARMRegisterInfo.td test/CodeGen/ARM/lsr-on-unrolled-loops.ll test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll test/CodeGen/Thumb2/ldr-str-imm12.ll test/CodeGen/Thumb2/lsr-deficiency.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Sep 2 11:41:10 PDT 2010


On Sep 2, 2010, at 11:33 AM, Jim Grosbach wrote:

> 
> On Sep 2, 2010, at 11:28 AM, Jakob Stoklund Olesen wrote:
> 
>> But shouldn't register allocation be unaffected?
>> 
> 
> The old allocation orders did things like putting R7/R11 (frame pointer) at the end of the order artificially so they could manipulate the end() iterator easily. That's no longer necessary, and as a result, there are some changes to which registers get allocated here and there.

Ah, that makes sense.

Only the beginning of the allocation order matters. Once you start using CSRs, the order is not important.





More information about the llvm-commits mailing list