[LLVMdev] TargetRegisterClass for Physical Register
Chris Lattner
sabre at nondot.org
Tue Jun 19 13:48:56 PDT 2007
On Tue, 19 Jun 2007, David Greene wrote:
> It makes sense not to do it in tblgen. I'm not sure what you mean by
> "do a linear scan over the registers to invert the mapping if they need
> efficient access to the reverse map." Do you mean construct the reverse
> map by iterating over the members of the register class and building it up
> explicitly? Yes, absolutely and it's what I'm doing now.
Yep, ok.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list