This is an archive of the discontinued LLVM Phabricator instance.

Fix the assertion failure caused by http://reviews.llvm.org/D22118
ClosedPublic

Authored by danielcdh on Jul 11 2016, 10:39 AM.

Details

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.

Diff Detail

Event Timeline

danielcdh updated this revision to Diff 63536.Jul 11 2016, 10:39 AM
danielcdh retitled this revision from to Fix the assertion failure caused by http://reviews.llvm.org/D22118.
danielcdh updated this object.
danielcdh added reviewers: dnovillo, mkuper.
danielcdh added a subscriber: llvm-commits.
dnovillo accepted this revision.Jul 11 2016, 10:42 AM
dnovillo edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jul 11 2016, 10:42 AM
danielcdh closed this revision.Jul 11 2016, 10:43 AM