[llvm-commits] register subclass patch!

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Wed Mar 18 18:50:30 PDT 2009


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 :)

Thanks

-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc



More information about the llvm-commits mailing list