This is an archive of the discontinued LLVM Phabricator instance.

[LNT][cPerf] Decide whether to discard functions before disassembling them
ClosedPublic

Authored by john.brawn on Jun 27 2018, 8:03 AM.

Details

Summary

Currently we disassemble functions at the same time as we collect the events that happen in them, which can lead to wasting a lot of time disassembling functions that later get discarded. Fix this by restructuring so that we discard before disassembling.

Diff Detail

Repository
rL LLVM

Event Timeline

john.brawn created this revision.

Update diff to one with full context.

PrzemekWirkus accepted this revision.Jun 28 2018, 2:07 AM

Looks good to me.

This revision is now accepted and ready to land.Jun 28 2018, 2:07 AM
This revision was automatically updated to reflect the committed changes.