This is an archive of the discontinued LLVM Phabricator instance.

[llvm-mca] Fix duplicate symbols error
ClosedPublic

Authored by michaelmaitland on May 3 2023, 1:28 PM.

Details

Summary

Parsing instruments and analysis regions causes us to see the same
labels two times since we parse the same file twice under the same
context.

This change creates a seperate context for instrument parsing
and another for analysis region parsing. I will post a follow up
commit once I get some free cycles to parse analysis regions and
instruments in one parsing pass under a single context.

Diff Detail

Event Timeline

michaelmaitland created this revision.May 3 2023, 1:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 1:28 PM
Herald added a subscriber: gbedwell. · View Herald Transcript
michaelmaitland requested review of this revision.May 3 2023, 1:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 1:28 PM
andreadb accepted this revision.May 3 2023, 4:53 PM

LGTM. Thanks!

This revision is now accepted and ready to land.May 3 2023, 4:53 PM
This revision was automatically updated to reflect the committed changes.