<div dir="ltr">Hi,<div><br></div><div>Assume I define registers R0...R15 and two register classes RegA and RegB. RegA contains R0 to R7 while RegB contains R0 to R15.</div><div><br></div><div>Then I check the machine instruction, it seems that in some cases, the %vreg0 belongs to RegB; in other cases %vreg1 belongs to RegA_RegB. Can you tell me how TableGen decides which is which? At first, I guess &verg0 will be assigned by R8 to R15 only so that %vreg0 belongs to RegB. But it seems my guess is wrong because %verg0 can also be assigned by R0.</div><div><br></div><div>Any input is appreciable.</div><div><br></div><div>Regards,</div><div><br></div><div>Xiangyang</div></div>