<div dir="ltr">I would like to specialise build_vector for the case when one of the operands is undefined. How do I describe this?<div><br></div><div>This is looking for an analog of specialisations like:</div><div>def : Pat <v2i32 (build_vector i32:$x, (i32 0)),...>;</div><div>but for an undefined, rather than zero, value. </div><div><br></div><div>I can work around my ignorance in performDAGCombine but would prefer to add to the existing pattern matching.</div><div><br></div><div>Thanks,</div><div><br></div><div>Jon</div></div>