[llvm-commits] [PATCH] TargetRegisterInfo method to get native register indices
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon May 23 20:37:39 PDT 2011
On May 23, 2011, at 7:58 PM, Charles Davis wrote:
> Hi,
>
> This patch adds a method to TargetRegisterInfo to get the native
> register index corresponding to a LLVM register index. I've implemented
> it for x86. Note that it returns 8-15 for r8-r15 (and xmm8-xmm15).
> I need this for my SEH directive-parsing methods, since the Win64 EH
> streamer methods expect a native register number.
What is a 'native' register number in a target-independent context? Should this be an X86-specific function only?
/jakob
More information about the llvm-commits
mailing list