On Jan 24, 2013, at 7:10 AM, Tim Northover <[email protected]> wrote:

> Basically, GPR64RegClass is defined in libLLVMAArch64CodeGen. llvm-mc
> and llvm-objdump don't seem to care about this, but I could see a
> minimal disassembler getting a bit upset.
> 
> Does anyone know if how big an issue this is; and what the ideal
> solution would be?

It's important that the MC libraries don't depend on CodeGen which is huge.

> Put the MCRegisterClass bits into
> libLLVMAArch64Desc (by modifying TableGen)?

There are two kinds of register classes: TargetRegisterClass and 
MCRegisterClass. The named global variables are TargetRegisterClass instances, 
and they depend on CodeGen.

You want MCRegisterInfo::getRegClass().

/jakob

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to