summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/DeclSpec.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-01-17 01:08:59 +0000
committerCameron Zwarich <zwarich@apple.com>2011-01-17 01:08:59 +0000
commit814cd9233e8543904f6835e8f7badf894f2370ed (patch)
tree7618a232f9ca48fb5c4193e4855dcba27b0c584f /clang/lib/Sema/DeclSpec.cpp
parent7d92ee38523f21d41593e953034a9069dfdda70d (diff)
downloadbcm5719-llvm-814cd9233e8543904f6835e8f7badf894f2370ed.tar.gz
bcm5719-llvm-814cd9233e8543904f6835e8f7badf894f2370ed.zip
Eliminate the use of dominance frontiers in PromoteMemToReg. In addition to
eliminating a potentially quadratic data structure, this also gives a 17% speedup when running -scalarrepl on test-suite + SPEC2000 + SPEC2006. My initial experiment gave a greater speedup around 25%, but I moved the dominator tree level computation from dominator tree construction to PromoteMemToReg. Since this approach to computing IDFs has a much lower overhead than the old code using precomputed DFs, it is worth looking at using this new code for the second scalarrepl pass as well. llvm-svn: 123609
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud