[llvm-commits] [cfe-commits] The AArch64 LLVM (& Clang) target
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Jan 25 09:23:23 PST 2013
On Jan 25, 2013, at 1:23 AM, Tim Northover <t.p.northover at gmail.com> wrote:
>> It's important that the MC libraries don't depend on CodeGen which is huge.
>
> I *thought* I'd heard that somewhere before.
>
>>> Put the MCRegisterClass bits into
>>> libLLVMAArch64Desc (by modifying TableGen)?
>>
>> You want MCRegisterInfo::getRegClass().
>
> Ah, I'd foolishly assumed that part of your original suggestion was
> some kind of typo when it wasn't obvious how to get hold of one. I've
> now found the XCore backend and been shamelessly inspired by its
> implementation.
Great!
We really should merge TargetRegisterClass into MCRegisterClass, but it still has a bit of CodeGen dependencies in getRawAllocationOrder().
/jakob
More information about the llvm-commits
mailing list