<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div><a href="https://reviews.llvm.org/D53815">https://reviews.llvm.org/D53815</a> introduced extra checks in TableGen for the TIED_TO constraint between MC operands. One of the check ensures that one of the operands is a def and the other is a use. In the backend I am implementing, there are instructions that have the encoding constraint that two source operands need to be the same register numbers, but coming from two different register files. The following snippet used to work correctly before:<br></div><div><br></div><div><div>class EqConstraint {</div><div>  string Constraints ="$op0 = $a";</div><div>}</div></div><div><br></div><div><div>multiclass Inst<bits<5> opc, RegType rt, string opcode> {</div><div>  defm "" : InstS2D1<opc, (outs), (ins REGFILE0:$op0, REGFILE1:$a, rt:$op1),</div><div>                       asmStr#"\t[$op0], [$a], $op1"></div><div>          , EqConstraint ;</div><div>}</div></div><div><br></div><div>but fails after rebasing on top of release_80. How can I enforce equality constraints between two source operands? I will greatly appreciate any help.</div><div><br></div><div>Thanks,</div><div>Manjunath</div><div><br></div></div></div></div>