This is an archive of the discontinued LLVM Phabricator instance.

Invoke PruneEH pass before Sample Profile pass.
ClosedPublic

Authored by danielcdh on Jun 9 2016, 2:19 PM.

Details

Summary

We need to call PruneEH pass before AutoFDO pass so that some EH-related calls can get inlined in Sample Profile pass.

Diff Detail

Event Timeline

danielcdh updated this revision to Diff 60234.Jun 9 2016, 2:19 PM
danielcdh retitled this revision from to Invoke PruneEH pass before Sample Profile pass..
danielcdh updated this object.
danielcdh added reviewers: davidxl, dnovillo.
danielcdh added a subscriber: llvm-commits.
dnovillo edited edge metadata.Jun 9 2016, 3:47 PM

A small test case, perhaps?

Thanks. Diego.

danielcdh updated this revision to Diff 61403.Jun 21 2016, 10:28 AM
danielcdh edited edge metadata.

add test

dnovillo accepted this revision.Jun 21 2016, 12:21 PM
dnovillo edited edge metadata.

LGTM. Thanks!

This revision is now accepted and ready to land.Jun 21 2016, 12:21 PM
danielcdh closed this revision.Jun 21 2016, 12:23 PM