Do not try to optimize PHI nodes with incredibly high degree. This reduces SCCP
authorChris Lattner <sabre@nondot.org>
Tue, 16 Mar 2004 19:49:59 +0000 (19:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Mar 2004 19:49:59 +0000 (19:49 +0000)
commita2f652d420ef3023fe105602481f750cbbbf88c5
tree2d69b2f771c350b5477e09d4601bbea3163c22e7
parent4bebf08d152d84970d250feec72fb734cb8a5316
Do not try to optimize PHI nodes with incredibly high degree.  This reduces SCCP
time from 615s to 1.49s on a large testcase that has a gigantic switch statement
that all of the blocks in the function go to (an intepreter).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12442 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp