[bugpoint] Try to reduce passes after reducing everything.
authorFlorian Hahn <flo@fhahn.com>
Tue, 29 Oct 2019 13:41:19 +0000 (13:41 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 29 Oct 2019 14:24:05 +0000 (14:24 +0000)
commit43a46f1c09380f65bf18d39c16c5145bfe48af45
treed4a9bf557ac9e8bdcec0019dd55bc8a1790fb743
parentfe5292545f768592fa1d8881c3b8c1bca43f8dfb
[bugpoint] Try to reduce passes after reducing everything.

In some cases, we fail to reduce the pass list earlier because of
complex pass dependencies, but we can reduce it after we simplified the
reproducer.

An example of that is PR43474, which can limit the crash to
-loop-interchange. Adding a test case would require at least 2
interacting Loop passes I think.

Reviewers: davide, reames, modocache

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D69236
llvm/tools/bugpoint/CrashDebugger.cpp