diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2015-10-14 19:54:24 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2015-10-14 19:54:24 +0000 |
commit | 92b9ec3c842a5c483f948eaf521e532b3a8ae9d0 (patch) | |
tree | 82ef43014592ab97911854b38f931eed49d36fb0 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 8241405ad42a8ce85c2a61baff5f96948f90cfa6 (diff) | |
download | bcm5719-llvm-92b9ec3c842a5c483f948eaf521e532b3a8ae9d0.tar.gz bcm5719-llvm-92b9ec3c842a5c483f948eaf521e532b3a8ae9d0.zip |
[IDFCalculator] Use DominatorTreeBase instead of DominatorTree
Summary:
IDFCalculator used a DominatorTree instance for its calculations. Since the PostDominatorTree struct is not a subclass of DominatorTree, it wasn't possible to use PDT in IDFCalculator to compute post-dominance frontiers.
This patch makes IDFCalculator work with a DominatorTreeBase<BasicBlock> instead, which enables PDTs to be utilized.
Patch by Victor Campos (vhscampos@gmail.com)
Reviewers: dberlin
Subscribers: dberlin, llvm-commits
Differential Revision: http://reviews.llvm.org/D13725
llvm-svn: 250320
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions