This is an archive of the discontinued LLVM Phabricator instance.

[IR] Add globalmemonly attribute
Needs ReviewPublic

Authored by MugilanGN on Sep 11 2021, 10:37 AM.

Details

Reviewers
jdoerfert
Summary

This defines the globalmemonly function attribute in the IR, AsmParser, and Bitcode. It doesn't make use of it yet.

Diff Detail

Event Timeline

MugilanGN created this revision.Sep 11 2021, 10:37 AM
MugilanGN requested review of this revision.Sep 11 2021, 10:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 11 2021, 10:37 AM

This is missing at least the langref changes, and maybe an RFC -- how is this useful?

This is missing at least the langref changes, and maybe an RFC -- how is this useful?

RFC, and more revisions are on the way.

Added a test for the Bitcode attribute.

MugilanGN updated this revision to Diff 372084.EditedSep 11 2021, 11:10 AM

I've added the requested LangRef definition for the attribute. An RFC was also sent and can be read at https://lists.llvm.org/pipermail/llvm-dev/2021-September/152622.html

ormris removed a subscriber: ormris.Jan 24 2022, 11:46 AM