[LLVMdev] request for help writing a register allocator
lhames at gmail.com
Tue Oct 20 15:36:27 CDT 2009
> > So if AL is a sub-register of EAX (assume this is true even if not),
> > then will getAliasSet(AL) include EAX, and will getAliasSet(EAX)
> > include AL? If yes, then I think I'm OK.
> Yes, I believe so.
Yep - that's correct. Watch out for a potential gotcha though:
getAliasSet(EAX) does not include EAX itself (and in general physregs do not
appear in their alias sets).
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMdev