Fix SelectionDAG compile time issue with alias analysis.
authorJonas Paulsson <jonas.paulsson@ericsson.com>
Wed, 11 Feb 2015 16:10:31 +0000 (16:10 +0000)
committerJonas Paulsson <jonas.paulsson@ericsson.com>
Wed, 11 Feb 2015 16:10:31 +0000 (16:10 +0000)
commitbf8d0cc699b171c72a8fe48c67431d0a2e0a3a5d
treec4c1faf255b1bada66b21503adc360256dba8bc4
parent5f15a8b9596cbcea2a2974ac088405a3d9989d95
Fix SelectionDAG compile time issue with alias analysis.

Add new token factor node and its users to worklist if alias analysis is
turned on, in DAGCombiner::visitTokenFactor(). Alias analysis may cause
a lot of new token factors to be inserted into the DAG, and they need to
be optimized to avoid significant slow-downs.

Reviewed by Hal Finkel.

llvm-svn: 228841
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp