<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">On 9/25/2017 6:03 PM, Shane Ryoo via llvm-dev wrote:<br></span><span style="font-size:12.8px">>        MultSrcOneDestInst<subOpcode, op0t, 0b00,<br></span><span style="font-size:12.8px">>                           IO_MultSrc<op0t, SpecialReg>.outsDefault,<br></span><span style="font-size:12.8px">>                           IO_MultSrc<op0t, SpecialReg>.insDefault>;</span><br style="font-size:12.8px"><span style="font-size:12.8px">I suspect that the use of IO_MultSrc here is the culprit. TableGen has<br></span><span style="font-size:12.8px">some limitations here, when it comes to instantiating classes "inline",<br></span><span style="font-size:12.8px">like in the example above.  Try instantiating the IO_MultSrc for these<br></span><span style="font-size:12.8px">arguments separately and passing the ins/outs as parameters.</span><br style="font-size:12.8px"><span style="font-size:12.8px">-Krzysztof</span></blockquote><div><br></div><div>The ins/outs depend on the parameters, so at this rate it might be better to flatten one multiclass and avoid that class altogether.  I'll try it and see how it works out.</div></div>