<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi All,<br><br></div>In ARMInstFormats.td predicate is defined this way:<br><br></div><br></div><i>def pred : PredicateOperand<OtherVT, (ops i32imm, i32imm),<br></i></div><div style="margin-left:280px"><i>(ops (i32 14), (i32 zero_reg))> {...}</i><br><br></div><br></div>I use the same definition in my code. But I have another version of predicate which is exactly the same but it is a condition code plus a quantifier! (e.g. Xpred = (pred + i32imm)).<br><br></div>I was wondering how we can define a sub sub operand, something like this:<br><br>def <b>Xpred</b> : PredicateOperand<OtherVT, (ops <b>pred</b>, i32imm),<br><div style="margin-left:280px">(ops (i32 14), (i32 zero_reg))> {...}<br></div><br></div>I don't know how clear I explained, but can someone recommend a solution?<br><br></div>Cheers,<br></div>ES<br><div><div><div><br><br></div></div></div></div>