OSDN Git Service

SelectionDAG compile time improvement.
authorNadav Rotem <nrotem@apple.com>
Fri, 22 Feb 2013 23:33:30 +0000 (23:33 +0000)
committerNadav Rotem <nrotem@apple.com>
Fri, 22 Feb 2013 23:33:30 +0000 (23:33 +0000)
commitd99a5a3ab4d47c6532bcf17a01677b1730599057
tree4b8e23de6181b936d0a9fbc58cd4c0cbfe6b1d91
parent606893294095e214f50937e8f8e9770efaab07a7
SelectionDAG compile time improvement.

One of the phases of SelectionDAG is LegalizeVectors. We don't need to sort the DAG and copy nodes around if there are no vector ops.

Speeds up the compilation time of SelectionDAG on a big scalar workload by ~8%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175929 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp