commit | 20afacc0596e89cff23e30dbafd68117e0f93aea | [log] [tgz] |
---|---|---|
author | Cong Hou <congh@google.com> | Wed Sep 23 00:20:27 2015 +0000 |
committer | Cong Hou <congh@google.com> | Wed Sep 23 00:20:27 2015 +0000 |
tree | a1b8722db697b17feb3a1bc1c4d86bd93871f461 | |
parent | 826813ee9f8882bf7bb9ad258bbcaa30ebfed1c1 [diff] |
Fixed an issue on updating profile data when lowering switch statement. Fixed the issue that when there is an edge from the jump table to the default statement, we should check it directly instead of checking if the sibling of the jump table header is a successor of the jump table header, which may not be the default statment but a successor of it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248354 91177308-0d34-0410-b5e6-96231b3b80d8