diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-15 16:41:12 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-15 16:41:12 +0000 |
commit | 6b6e32d954233ddeeae7f99e358ff85059f1176a (patch) | |
tree | ba65d0d3d5fa70118eed8618be9a4f4ce256f7d9 /tools/llvm-dwarfdump | |
parent | b6e9a83349474d348b401f02c58f4a1754181127 (diff) | |
download | external_llvm-6b6e32d954233ddeeae7f99e358ff85059f1176a.zip external_llvm-6b6e32d954233ddeeae7f99e358ff85059f1176a.tar.gz external_llvm-6b6e32d954233ddeeae7f99e358ff85059f1176a.tar.bz2 |
Trace through sibling PHIs in bulk.
When traceSiblingValue() encounters a PHI-def value created by live
range splitting, don't look at all the predecessor blocks. That can be
very expensive in a complicated CFG.
Instead, consider that all the non-PHI defs jointly dominate all the
PHI-defs. Tracing directly to all the non-PHI defs is much faster that
zipping around in the CFG when there are many PHIs with many
predecessors.
This significantly improves compile time for indirectbr interpreters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-dwarfdump')
0 files changed, 0 insertions, 0 deletions