But you can try to first do register class assignment, and then do
register allocation within each class.
That's essentially what *is* done, except that there isn't a strict
*assignment* of a class to a psuedo, but rather preferred and discouraged
classes are set up for each pseudo and then allocation is done with that
class information as a guide.