commit | e2d151c9248c9590cb066f139f2af2ae1feca56b | [log] [tgz] |
---|---|---|
author | Haicheng Wu <haicheng@codeaurora.org> | Sun Jul 03 19:14:17 2016 +0000 |
committer | Haicheng Wu <haicheng@codeaurora.org> | Sun Jul 03 19:14:17 2016 +0000 |
tree | 664053d8a3d7e8de3c2dba1bb9d397e2cfc738c0 | |
parent | 4ad0017d61f7b3444147fd5a47b18a527adb9fa8 [diff] |
[MBB] add a missing corner case in UpdateTerminator() After the block placement, if a block ends with a conditional branch, but the next block is not its successor. The conditional branch should be changed to unconditional branch. This patch fixes PR28307, PR28297, PR28402. Differential Revision: http://reviews.llvm.org/D21811 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274470 91177308-0d34-0410-b5e6-96231b3b80d8