diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2016-07-28 22:29:25 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2016-07-28 22:29:25 +0000 |
commit | 60606266e054367cc495fbb4614e0aedfcc3a62a (patch) | |
tree | b26a1d1e17e0838c03a0298d73274a0eacd2cf5f /clang/lib/Driver/Tools.cpp | |
parent | f586ff7ec93c2fa4feae36b8bec999b8c14c44b5 (diff) | |
download | llvm-60606266e054367cc495fbb4614e0aedfcc3a62a.zip llvm-60606266e054367cc495fbb4614e0aedfcc3a62a.tar.gz llvm-60606266e054367cc495fbb4614e0aedfcc3a62a.tar.bz2 |
Rework CFG simplification in bugpoint
Summary:
Depends on D22841
We now use a much simpler CFG simplification routine for bugpoint,
because SimplifyCFG is no longer a good match for what bugpoint wants
to do.
At the same time, to make sure we don't lose anything valuable it was doing,
SimplifyCFG is now run as a per-BB reduction pass.
With this and D22841 combined, bugpoint operates both much faster on
the large testcases i have, and reduces them to pretty much minimal
testcases (in one case, bugpoint used to leave about 6000 useless blocks, and
now it leaves 3 ...)
Reviewers: chandlerc, majnemer
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D22845
llvm-svn: 277063
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions