[llvm-dev] How does one match undef in tablegen?
Jon Chesterfield via llvm-dev
llvm-dev at lists.llvm.org
Sun May 7 09:44:27 PDT 2017
I would like to specialise build_vector for the case when one of the
operands is undefined. How do I describe this?
This is looking for an analog of specialisations like:
def : Pat <v2i32 (build_vector i32:$x, (i32 0)),...>;
but for an undefined, rather than zero, value.
I can work around my ignorance in performDAGCombine but would prefer to add
to the existing pattern matching.
Thanks,
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170507/1fcc13ea/attachment.html>
More information about the llvm-dev
mailing list