<div dir="ltr">I see that the generated <font face="monospace">XGenCallingConv.inc</font> includes this code for the <font face="monospace">CCAssignToReg </font>action:<div><br></div><div><div><font face="monospace">    if (unsigned Reg = State.AllocateReg(RegList1)) {</font></div><div><font face="monospace">      State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo));</font></div><div><font face="monospace">      return false;</font></div><div><font face="monospace">    }</font></div></div><div><br></div><div>Is there any action that will call <font face="monospace">State.AllocateRegBlock</font>? Specifically, I have a bunch of i16 registers for return values. If a value is i16, I can allocate one, but if a value is i32, I need to allocate a block of 2. I wanted to use a tablegen file to specify this, since it would save me a lot of coding. Can I get a confirmation that this is just not supported in a .td file, and that I have to write the code myself?</div><div><br></div><div>Thanks,</div><div><br></div><div>--Rob</div><div><br></div></div>