commit | e78d6b06406b5672ce207acf844f0e759dfbcf49 | [log] [tgz] |
---|---|---|
author | Michael Kuperstein <mkuper@google.com> | Mon Jan 23 23:45:42 2017 +0000 |
committer | Michael Kuperstein <mkuper@google.com> | Mon Jan 23 23:45:42 2017 +0000 |
tree | 7825b9990b46f321b279ac98136c3fa0579e3638 | |
parent | c58ca7290717259c29e46cc407d7b88dce0f89de [diff] |
[LoopUnroll] First form LCSSA, then loop-simplify Running non-LCSSA-preserving LoopSimplify followed by LCSSA on (roughly) the same loop is incorrect, since LoopSimplify may break LCSSA arbitrarily higher in the loop nest. Instead, run LCSSA first, and then run LCSSA-preserving LoopSimplify on the result. This fixes PR31718. Differential Revision: https://reviews.llvm.org/D29055 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292854 91177308-0d34-0410-b5e6-96231b3b80d8