utils/abtest: Refactor and add bisection method
authorMatthias Braun <matze@braunis.de>
Fri, 7 Sep 2018 17:08:44 +0000 (17:08 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 7 Sep 2018 17:08:44 +0000 (17:08 +0000)
commite2dc6929194ff388abaf498437cf4f15f9abdfc9
treea9ddf77e7f2f76ae6d163c71054ce90de5813bf4
parent52a61fc2acb58d92291b8d47318638ae089dce6c
utils/abtest: Refactor and add bisection method

- Refactor/rewrite most of the code. Also make sure it passes
  pycodestyle/pyflakes now
- Add a new mode that performs bisection on the search space. This
  should be faster in the common case where there is only a small number
  of files or functions actually leading to failure.
  The previous sequential behavior can still be accessed via `--seq`.

llvm-svn: 341679
llvm/utils/abtest.py