OSDN Git Service

Stop explicitly scheduling domfrontier before the loop passes,
authorChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 07:05:51 +0000 (07:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 07:05:51 +0000 (07:05 +0000)
commit8bfc4299c2c106aa8ef0053b27c9f5a611b5a2a8
treee97478b32097ed5c4d0a3ee3f14c33ba82e48fdd
parente418ac832c1a2813736c44f6ec5c646b4c89c339
Stop explicitly scheduling domfrontier before the loop passes,
since none of them use it.  With this, we now only run
domfrontier (an N^2 analysis) 3 times at clang -O3: once for
"early" per-function cleanup, once at the start of the
per-function pipeline to support SRoA, and once late because
the EHPrepare class uses it.

EHPrepare needs to stop using it, this is silly and wasteful.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112420 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/StandardPasses.h