commit | 5bef0eb1de5f52662de7b4808bee5e9d643b04db | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Mon Oct 24 05:51:01 2011 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Mon Oct 24 05:51:01 2011 +0000 |
tree | 8744209eb4d22df0fdeb50f706d27db22b80b78c | |
parent | 4a3935c27e5315081844a5b7ae1f7097efc234b0 [diff] |
PHI nodes not in the loop header aren't part of the loop iteration initial state. Furthermore, they might not have two operands. This fixes the underlying issue behind the crashes introduced in r142781. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142788 91177308-0d34-0410-b5e6-96231b3b80d8