summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneTrace.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-13 22:01:26 +0000
committerChris Lattner <sabre@nondot.org>2004-03-13 22:01:26 +0000
commit797cb2f6c1ddbf4f0bc3e8cf9f6f94cc8a448741 (patch)
treebe1ee11cda8a649b6d4d7b978c6b92f438c39d75 /llvm/lib/Transforms/Utils/CloneTrace.cpp
parent024385ba5facd2fee044fe4f9521c8b3946eeee8 (diff)
downloadbcm5719-llvm-797cb2f6c1ddbf4f0bc3e8cf9f6f94cc8a448741.tar.gz
bcm5719-llvm-797cb2f6c1ddbf4f0bc3e8cf9f6f94cc8a448741.zip
This little patch speeds up the loop used to update the dominator set analysis.
On the testcase from GCC PR12440, which has a LOT of loops (1392 of which require preheaders to be inserted), this speeds up the loopsimplify pass from 1.931s to 0.1875s. The loop in question goes from 1.65s -> 0.0097s, which isn't bad. All of these times are a debug build. This adds a dependency on DominatorTree analysis that was not there before, but we always had dominatortree available anyway, because LICM requires both loop simplify and DT, so this doesn't add any extra analysis in practice. llvm-svn: 12362
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneTrace.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud