summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringMap.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-01-23 06:16:06 +0000
committerCameron Zwarich <zwarich@apple.com>2011-01-23 06:16:06 +0000
commita9339c6cd0a997c6cfe7d85407674d1dc9b892a2 (patch)
treed78f801e097b4ff5fc89c9eb54103da355195823 /llvm/lib/Support/StringMap.cpp
parentbd82a5d2cc9451c15f66d5dc8475fc6e01c19332 (diff)
downloadbcm5719-llvm-a9339c6cd0a997c6cfe7d85407674d1dc9b892a2.tar.gz
bcm5719-llvm-a9339c6cd0a997c6cfe7d85407674d1dc9b892a2.zip
In the simpler version of the link-eval data structure that we use in dominator
computation, the Ancestor field is always set to the Parent, so we can remove the explicit link entirely and merge the Parent and Ancestor fields. Instead of checking for whether an ancestor exists for a node or not, we simply check whether the node has already been processed. This is simpler if Compress is inlined into Eval, so I did that as well. This is about a 3% speedup running -domtree on test-suite + SPEC2000 & SPEC2006, but it also opens up some opportunities for further improvement. llvm-svn: 124061
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud