[PATCH] D22845: Rework CFG simplification in bugpoint

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 26 21:07:21 PDT 2016


dberlin created this revision.
dberlin added reviewers: chandlerc, majnemer.
dberlin added a subscriber: llvm-commits.
dberlin added a dependency: D22841: Add a pass to bugpoint to make it transform conditional jumps into unconditional jumps..

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 ...)

https://reviews.llvm.org/D22845

Files:
  tools/bugpoint/CrashDebugger.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22845.65657.patch
Type: text/x-patch
Size: 12352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160727/77b82b67/attachment.bin>


More information about the llvm-commits mailing list