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)
commitb7f90bd97b3b97e965de988eb205e85d85890b9a
treefcd85d7d2adce2f97efa6f7b2085d5a39584569a
parent6533a765b0aaec4a5bc48f783c0178a3aa521ec6
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%.

llvm-svn: 175929
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp