commit | 4b739069e477d04f7b7fc7d263a3de38c977b732 | [log] [tgz] |
---|---|---|
author | James Molloy <james.molloy@arm.com> | Mon Feb 16 17:01:52 2015 +0000 |
committer | James Molloy <james.molloy@arm.com> | Mon Feb 16 17:01:52 2015 +0000 |
tree | b0fd440857148a375797bd6e45b78b6fbda303bd | |
parent | c21da273fe448f235b3e5ed0c9997cda8c2b343d [diff] |
[LoopReroll] Don't crash on dead code If a PHI has no users, don't crash; bail gracefully. This shouldn't happen often, but we can make no guarantees that previous passes didn't leave dead code around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229405 91177308-0d34-0410-b5e6-96231b3b80d8