diff options
author | Michael Kuperstein <mkuper@google.com> | 2017-01-10 19:32:30 +0000 |
---|---|---|
committer | Michael Kuperstein <mkuper@google.com> | 2017-01-10 19:32:30 +0000 |
commit | c7eb5df9be401ee84f6ce04691f72e9ff97a2075 (patch) | |
tree | 3f07ea2ed9d176fa24dbc3b01856b46e379fd3d9 /runtimes/CMakeLists.txt | |
parent | 2cf892fefa486af61f51f2ed7800e6314c2ffd0b (diff) |
[LV] Don't panic when encountering the IV of an outer loop.
Bail out instead of asserting when we encounter this situation,
which can actually happen.
The reason the test uses the new PM is that the "bad" phi, incidentally, gets
cleaned up by LoopSimplify. But LICM can create this kind of phi and preserve
loop simplify form, so the cleanup has no chance to run.
This fixes PR31190.
We may want to solve this in a less conservative manner, since this phi is
actually uniform within the inner loop (or we may want LICM to output a cleaner
promotion to begin with).
Differential Revision: https://reviews.llvm.org/D28490
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtimes/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions