commit | 5bd75b1a3b8fcb83e2e53392bb8f84eb2ebf1368 | [log] [tgz] |
---|---|---|
author | Cong Hou <congh@google.com> | Thu Aug 27 00:37:40 2015 +0000 |
committer | Cong Hou <congh@google.com> | Thu Aug 27 00:37:40 2015 +0000 |
tree | b793272628afe19a86616b3e2c0eefad4770e992 | |
parent | 76b88692333101bf483b9a7752bf6cfc9973a005 [diff] |
Fixed a bug that edge weights are not assigned correctly when lowering switch statement. This is a one-line-change patch that moves the update to UnhandledWeights to the correct position: it should be updated for all clusters instead of just range clusters. Differential Revision: http://reviews.llvm.org/D12391 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246129 91177308-0d34-0410-b5e6-96231b3b80d8