Do not convert massive blocks on phi nodes into select statements. Instead
authorChris Lattner <sabre@nondot.org>
Sat, 18 Nov 2006 19:19:36 +0000 (19:19 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Nov 2006 19:19:36 +0000 (19:19 +0000)
commit822a87998387a4c52be5162523f09cc8e5e5afb7
tree94b975f45f0572e19674fabbad3b8c7eca70760b
parente6cc288941d174d5711d7ae381b722f7b0b87e56
Do not convert massive blocks on phi nodes into select statements.  Instead
only do these transformations if there are a small number of phi's.
This speeds up Ptrdist/ks from 2.35s to 2.19s on my mac pro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31853 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp