Dehao Chen 1c6f7aba02 Fix the assertion failure caused by http://reviews.llvm.org/D22118
Summary: http://reviews.llvm.org/D22118 uses metadata to store the call count, which makes it possible to have branch weight to have only one elements. Also fix the assertion failure in inliner when checking the instruction type to include "invoke" instruction.

Reviewers: mkuper, dnovillo

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D22228

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275079 91177308-0d34-0410-b5e6-96231b3b80d8
2016-07-11 17:36:02 +00:00
..
2016-05-19 21:07:12 +00:00
2016-05-11 16:38:40 +00:00
2016-04-18 09:17:29 +00:00
2016-06-19 17:20:27 +00:00
2016-04-18 09:17:29 +00:00
2016-05-11 16:38:40 +00:00
2016-01-14 21:06:47 +00:00
2016-04-22 22:24:20 +00:00
2016-04-18 09:17:29 +00:00
2016-06-02 20:37:52 +00:00
2016-07-04 08:01:29 +00:00