[llvm-commits] register subclass patch!
Dan Gohman
gohman at apple.com
Thu Mar 19 17:37:16 PDT 2009
On Mar 18, 2009, at 6:50 PM, Bruno Cardoso Lopes wrote:
> Hi Dan,
>
>> Instead of creating a separate register class, could you use just
>> FGR32 and then mark the odd registers as non-allocatable
>> when the ABI requires it?
>
> By marking them non-allocatable you mean making changes to
> allocation_order_begin/end so the odd registers doesn't get allocated
> by getAllocatableSetForRC, right?
> It seems a better approach to me indeed :)
Yes. That and making getReservedRegs do the right thing.
Dan
More information about the llvm-commits
mailing list