commit | 9254ae141b047fc9ec1341253e65df453c725dd2 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Apr 21 23:54:12 2017 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Fri Apr 21 23:54:12 2017 +0000 |
tree | 48aad1ed662d9f7c52268932ce45d975b5b8a98d | |
parent | 9c1b0af65844506c148c0bdd0dc9815e580bd106 [diff] |
LowerSwitch: Fix producing invalid IR on unreachable code If a switch was in an unreachable block that branched to a block with a phi, it would leave phis with missing predecessors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301064 91177308-0d34-0410-b5e6-96231b3b80d8