summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-reduce/deltas/Delta.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Bugpoint redesign] Output option can now print to STDOUTDiego Trevino Ferrer2019-08-151-29/+19
| | | | | | | | | | | | | | | | | | Summary: This also changes all the outs() statements to errs() so the output and progress streams don't get mixed. This has been added because D64176 had flaky tests, which I believe were because the reduced file was being catted into `FileCheck`, instead of being pass from STDOUT directly. Reviewers: chandlerc, dblaikie, xbolva00 Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66314 llvm-svn: 369060
* [Bugpoint redesign] Reduced scope of variables in Delta implementationDiego Trevino Ferrer2019-08-141-5/+4
| | | | | | | | | | | | Summary: This diff also changed the check in `Delta.cpp` to verify interesting-ness, so it exits when the input isn't interesting Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66251 llvm-svn: 368915
* Added Delta IR Reduction ToolDiego Trevino Ferrer2019-08-081-0/+179
| | | | | | | | | | | | | | | | Summary: Tool parses input IR file, and runs the delta debugging algorithm to reduce the functions inside the input file. Reviewers: alexshap, chandlerc Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63672 > llvm-svn: 368071 llvm-svn: 368358
* Revert Added Delta IR Reduction ToolDiego Trevino Ferrer2019-08-071-203/+0
| | | | | | This reverts r368071 (git commit a2584978f5bb41973d65a145b0d9459b81e3ac6d) llvm-svn: 368217
* Added Delta IR Reduction ToolDiego Trevino Ferrer2019-08-071-0/+203
| | | | | | | | | | | | | | | | Summary: Tool parses input IR file, and runs the delta debugging algorithm to reduce the functions inside the input file. Reviewers: alexshap, chandlerc Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63672 > llvm-svn: 368071 llvm-svn: 368214
* Reverts commit r368117, r368115 and r368112Petr Hosek2019-08-071-171/+0
| | | | | | | | | | | | This reverts commits: "Added Delta IR Reduction Tool" "[Bugpoint redesign] Added Pass to Remove Global Variables" "Added Tool as Dependency to tests & fixed warnings" Reduce/remove-funcs.ll is failing on bots. llvm-svn: 368122
* Added Tool as Dependency to tests & fixed warningsDiego Trevino Ferrer2019-08-071-2/+2
| | | | | | | | | | | | Summary: Fixes http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/14002 and http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/35392/steps/build_Lld/logs/stdio Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65843 llvm-svn: 368117
* [Bugpoint redesign] Added Pass to Remove Global VariablesDiego Trevino Ferrer2019-08-071-0/+171
Summary: This pass tries to remove Global Variables, as well as their derived uses. For example if a variable `@x` is used by `%call1` and `%call2`, both these uses and the definition of `@x` are deleted. Moreover if `%call1` or `%call2` are used elsewhere those uses are also deleted, and so on recursively. I'm still uncertain if this pass should remove derived uses, I'm open to suggestions. Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64176 llvm-svn: 368115
OpenPOWER on IntegriCloud