[LLVMdev] Difference between vector and scalar legalization

Akira Hatanaka ahatanak at gmail.com
Thu Apr 18 12:18:35 PDT 2013

Is there a reason VectorLegalizer::Run() and
SelectionDAGLegalize::LegalizeDAG() visit the DAG nodes in a different
order? The former traverses the DAG from top to bottom (users legalized
after all their uses are legalized) and the latter traverses the DAG in the
opposite order.

I am finding it hard to write code for vector node legalization in some
cases and wondering whether there is an option to reverse the order.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130418/41a8e4c2/attachment.html>

More information about the llvm-dev mailing list