Files
clang-p2996/llvm/test/CodeGen/Mips
Cong Hou 03127700d5 Assign weights to edges to jump table / bit test header when lowering switch statement.
Currently, when lowering switch statement and a new basic block is built for jump table / bit test header, the edge to this new block is not assigned with a correct weight. This patch collects the edge weight from all its successors and assign this sum of weights to the edge (and also the other fall-through edge). Test cases are adjusted accordingly.

Differential Revision: http://reviews.llvm.org/D12166#fae6eca7

llvm-svn: 246104
2015-08-26 23:15:32 +00:00
..
2015-06-19 01:53:21 +00:00
2013-12-07 02:48:29 +00:00
2011-08-12 18:12:06 +00:00
2015-04-13 18:47:19 +00:00
2011-09-09 23:14:58 +00:00
2012-03-29 18:43:11 +00:00
2011-12-19 20:24:28 +00:00
2012-06-27 00:40:34 +00:00
2013-07-26 20:58:55 +00:00
2011-05-25 23:30:30 +00:00