[LLVMdev] Look-ahead instruction selection

Alex alex.lavoro.propio at gmail.com
Mon Jan 5 14:32:14 PST 2009


In .td file, if the pattern to match the DAG is:

(vector_shuffle (mul build_vector, build_vector))

is it possible to return 'mul' (SDNode*) instead of returning the first
'vector_shuffle'?

It seems to me that the default instruction selector can only return the
'root' node of the pattern.

Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090105/e8da2183/attachment.html>


More information about the llvm-dev mailing list