commit | 2360eb02ec6d6f4d4f7b994687b105067850c2b0 | [log] [tgz] |
---|---|---|
author | Michael Kuperstein <mkuper@google.com> | Thu Mar 16 21:07:48 2017 +0000 |
committer | Michael Kuperstein <mkuper@google.com> | Thu Mar 16 21:07:48 2017 +0000 |
tree | 32944522de4651b941fdc547da9a83847c691bd4 | |
parent | 78dce2577dfbc9d790a310b4d7e24b195a44a552 [diff] |
[LoopUnroll] Don't peel loops where the latch isn't the exiting block Peeling assumed this doesn't happen, but didn't check it. This fixes PR32178. Differential Revision: https://reviews.llvm.org/D30757 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297993 91177308-0d34-0410-b5e6-96231b3b80d8