Register class with different spill sizes for different subtargets

Hi All,

Is it possible to define a register class which has different spill sizes for different subtargets?
Moreover, how can it be achieved under llvm 3.9?

Thanks in advance for your feedback.

Wang, Jiefeng