[LLVMdev] New register allocation hinting mechanism

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Dec 3 16:53:48 PST 2012


I just updated register allocation hinting mechanism to be more flexible and hopefully easier to use.

If you have an out-of-tree target that was overriding the TRI::ResolveRegAllocHint() or TRI::getRawAllocationOrder() functions, you should switch it to using the new TRI::getRegAllocationHints() function instead. See the ARM target for an example.

Zino, I believe the new hints are powerful enough to improve ldm/stm formation on ARM. Were you interested in working on that?

/jakob




More information about the llvm-dev mailing list