This is an archive of the discontinued LLVM Phabricator instance.

[IR] Add elementtype attribute
ClosedPublic

Authored by nikic on Jul 14 2021, 12:54 PM.

Details

Reviewers
aeubanks
Group Reviewers
Restricted Project
Commits
rGc191035f421b: [IR] Add elementtype attribute
Summary

This implements the elementtype attribute specified in D105407. It just adds the attribute and the specified verifier rules, but doesn't yet make use of it anywhere.

Diff Detail

Event Timeline

nikic created this revision.Jul 14 2021, 12:54 PM
nikic requested review of this revision.Jul 14 2021, 12:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2021, 12:54 PM

perhaps a test making sure it works in an opaque pointer context?

nikic updated this revision to Diff 358763.Jul 14 2021, 2:52 PM

Test elementtype + opaque ptr arg.

This revision is now accepted and ready to land.Jul 14 2021, 2:56 PM
This revision was landed with ongoing or failed builds.Jul 15 2021, 9:04 AM
This revision was automatically updated to reflect the committed changes.