[llvm-commits] [llvm] r162968 - in /llvm/trunk: lib/Target/ARM/ARMISelLowering.cpp test/CodeGen/ARM/atomic-op.ll

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Sep 5 18:11:23 PDT 2012


On Sep 5, 2012, at 5:09 PM, Jim Grosbach <grosbach at apple.com> wrote:

> I suspect those weren't typos, but holdovers predating the existence of the rGPR register class and back when adding new register classes was expensive. We'd sometimes use tGPR as a shorthand to preclude the upper regs like SP and LR. Pretty horrible, and things like rGPR are much, much better.

Now you can even go MRI->recomputeRegClass(Reg) after creating the instructions, if you can't choose.

/jakob





More information about the llvm-commits mailing list