This is an archive of the discontinued LLVM Phabricator instance.

[llvm-mca] Improve barriers for strict region marking (PR52198)
ClosedPublic

Authored by RKSimon on Jan 20 2022, 7:36 AM.

Details

Summary

As suggested on the bug, to help (but not completely....) stop folded instructions crossing the inline asm barriers used for llvm-mca analysis, we should recommend tagging with memory captures/attributes.

Diff Detail

Event Timeline

RKSimon created this revision.Jan 20 2022, 7:36 AM
RKSimon requested review of this revision.Jan 20 2022, 7:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2022, 7:36 AM
andreadb accepted this revision.Jan 20 2022, 7:36 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Jan 20 2022, 7:36 AM