Manman Ren ea120b6bb5 PGO branch weight: update edge weights in IfConverter.
This commit only handles IfConvertTriangle. To update edge weights
of a successor, one interface is added to MachineBasicBlock:
/// Set successor weight of a given iterator.
setSuccWeight(succ_iterator I, uint32_t weight)

An existing testing case test/CodeGen/Thumb2/v8_IT_5.ll is updated,
since we now correctly update the edge weights, the cold block
is placed at the end of the function and we jump to the cold block.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200428 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-29 23:18:47 +00:00
..
2013-10-22 15:18:03 +00:00
2013-03-25 13:47:46 +00:00
2013-12-26 14:43:33 +00:00
2013-02-09 13:29:31 +00:00
2013-08-16 23:30:19 +00:00
2013-12-28 21:56:51 +00:00
2013-08-16 23:30:19 +00:00
2013-12-12 00:19:07 +00:00
2014-01-24 17:20:08 +00:00
2014-01-24 17:20:08 +00:00