diff options
author | Florian Hahn <florian.hahn@arm.com> | 2018-04-27 13:52:51 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2018-04-27 13:52:51 +0000 |
commit | f3fea0f11f5bc7852e28b50d8accf528febed0c3 (patch) | |
tree | 366e1ed52ba91558d4cb03331fe3b9752ffb8914 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 76088a59299ab8660c357ac575ee9fd8336a8e89 (diff) | |
download | bcm5719-llvm-f3fea0f11f5bc7852e28b50d8accf528febed0c3.tar.gz bcm5719-llvm-f3fea0f11f5bc7852e28b50d8accf528febed0c3.zip |
[LoopInterchange] Allow some loops with PHI nodes in the exit block.
We currently support LCSSA PHI nodes in the outer loop exit, if their
incoming values do not come from the outer loop latch or if the
outer loop latch has a single predecessor. In that case, the outer loop latch
will be executed only if the inner loop gets executed. If we have multiple
predecessors for the outer loop latch, it may be executed even if the inner
loop does not get executed.
This is a first step to support the case described in
https://bugs.llvm.org/show_bug.cgi?id=30472
Reviewers: efriedma, karthikthecool, mcrosier
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D43237
llvm-svn: 331037
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions