Akira Hatanaka
2013-Apr-18 19:18 UTC
[LLVMdev] Difference between vector and scalar legalization
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>
Seemingly Similar Threads
- [LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
- [LLVMdev] [PATCH] Add new phase to legalization to handle vector operations
- [LLVMdev] legalization of truncating stores in LegalizeDAG.cpp
- [LLVMdev] [llvm-commits] [llvm] r65296 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/CellSPU/ lib/Target/PowerPC/ lib/Target/X86/ test/CodeGen/X86/
- [LLVMdev] legalization of truncating stores in LegalizeDAG.cpp