[llvm-commits] [llvm] r118800 - in /llvm/trunk/lib/CodeGen: LiveIntervalUnion.h RegAllocBase.h RegAllocBasic.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Nov 11 11:46:02 PST 2010


On Nov 11, 2010, at 9:46 AM, Andrew Trick wrote:

> Author: atrick
> Date: Thu Nov 11 11:46:29 2010
> New Revision: 118800
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=118800&view=rev
> Log:
> Check TRI->getReservedRegs because other allocators do it. Even though
> it makes no sense for allocation_order iterators to visit reserved regs.

Yes, this is unfortunate, but it is the best we can do ATM.

The problem is that some targets have multiple registers that may be reserved (arm), and writing the allocation_order iterators quickly becomes very difficult.

/jakob





More information about the llvm-commits mailing list