diff options
| author | Tobias Grosser <tobias@grosser.es> | 2017-06-17 07:45:44 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2017-06-17 07:45:44 +0000 |
| commit | 3addd89dd0ca6f609da36be6e70a5053bdb5f48e (patch) | |
| tree | 613448dd89c0212e9ffcd5554dde699278f164ad /polly/docs | |
| parent | fc7f3b7514147cb6fc0ea67a5b0ee61e59d1ef6e (diff) | |
| download | bcm5719-llvm-3addd89dd0ca6f609da36be6e70a5053bdb5f48e.tar.gz bcm5719-llvm-3addd89dd0ca6f609da36be6e70a5053bdb5f48e.zip | |
Add information about bisecting
llvm-svn: 305633
Diffstat (limited to 'polly/docs')
| -rw-r--r-- | polly/docs/TipsAndTricks.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/polly/docs/TipsAndTricks.rst b/polly/docs/TipsAndTricks.rst index 30efd02b8d0..71758891c73 100644 --- a/polly/docs/TipsAndTricks.rst +++ b/polly/docs/TipsAndTricks.rst @@ -37,3 +37,16 @@ Understanding which pass makes a particular change - ``$ opt -O3 -polly -debug-pass=Arguments`` to get all passes that are run by default. ``-debug-pass=Arguments`` will list all passes that have run. - Bisect down to the pass that changes it. + +Debugging regressions introduced at some unknown earlier point +-------------------------------------------------------------- + +In case of a regression in performance or correctness (e.g., an earlier version +of Polly behaved as expected and a later version does not), bisecting over the +version history is the standard approach to identify the commit that introduced +the regression. + +LLVM has a single repository that contains all projects. It can be cloned at: +`<https://github.com/llvm-project/llvm-project-20170507>`_. How to bisect on a +git repository is explained here +`<https://www.metaltoad.com/blog/beginners-guide-git-bisect-process-elimination`. |

