commit | 0645f687993fe59999949f2304c59c622566991b | [log] [tgz] |
---|---|---|
author | Adam Nemet <anemet@apple.com> | Tue Mar 22 18:38:15 2016 +0000 |
committer | Adam Nemet <anemet@apple.com> | Tue Mar 22 18:38:15 2016 +0000 |
tree | 1f4f8edead5a616ae06f1bc10dc1d8bd32bc8dd7 | |
parent | 340dafa6bdc075c11fcfa2ed8c415cc0c6be5427 [diff] |
[LoopVersioning] Relax an assert for LCSSA PHIs When you have multiple LCSSA (single-operand) PHIs that are converted into two-operand PHIs due to versioning, only assert that the PHI currently being converted has a single operand. I.e. we don't want to check PHIs that were converted earlier in the loop. Fixes PR27023. Thanks to Karl-Johan Karlsson for the minimized testcase! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264081 91177308-0d34-0410-b5e6-96231b3b80d8