Carter, Jack
2012-Feb-11 01:50 UTC
[LLVMdev] (MC) <target>RegisterInfo.td: alternate register names
Folks, Please confirm or correct the following assertions: In Target.td one of the data member fields for class Register is list<string> AltNames. If this is for alternate names for a given register (in Mips $28 and $gp are the same) it would be quite useful for the llvm-mc assembler which has to handle cases where there are multiple names for the same register. A quick recursive grep shows that no target is currently using this. It is also not use when generating <target>GenAsmMatcher.inc. If this is the case, I will try and incorporate AltNames so the strings get correctly matched in the AsmMatcher. Cheers, Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120211/0b223af9/attachment.html>
Apparently Analagous Threads
- [LLVMdev] (MC) Register parsing for AsmParser (standalone assembler)
- [LLVMdev] Breaking changes in *RegisterInfo.td regarding SubRegIndex
- MC Assembler / tablegen: actually parsing variable_ops
- [Target] AsmParser Error : key functions missing
- [LLVMdev] Problem generating <target>GenAsmMatcher.inc