This is an archive of the discontinued LLVM Phabricator instance.

Add getters to access string attributes of arguments/return values
AbandonedPublic

Authored by apilipenko on Jul 1 2015, 8:26 AM.

Details

Reviewers
reames
sanjoy
Summary

Add missing getters to access string attributes of arguments/return values.

Diff Detail

Event Timeline

apilipenko updated this revision to Diff 28873.Jul 1 2015, 8:26 AM
apilipenko retitled this revision from to Support custom string attributes for function arguments/return values.
apilipenko updated this object.
apilipenko edited the test plan for this revision. (Show Details)
apilipenko added reviewers: reames, sanjoy.
apilipenko added a subscriber: Unknown Object (MLST).
sanjoy edited edge metadata.Jul 2 2015, 12:09 AM

Can you please (briefly) comment on what this will be used for?

Can you please (briefly) comment on what this will be used for?

We are going to use these attributes along with metadata on loads to express higher level language types in IR. The idea of external types is similar to the TBAA types attached to load/store instructions.

reames requested changes to this revision.Jul 8 2015, 10:00 AM
reames edited edge metadata.

Artur,

Offline, we talked about the fact that this patch is actually two related parts. One is fixing a bug where the IR format doesn't properly parse our own output for a feature also supported in bitcode. The second is adding a set of extra accessors.

Could you split the first part into a new review with a clear description of what's going on? I doubt folks realized what this review actually contained from the original description. I certainly didn't.

This revision now requires changes to proceed.Jul 8 2015, 10:00 AM
apilipenko updated this revision to Diff 29314.Jul 9 2015, 4:02 AM
apilipenko retitled this revision from Support custom string attributes for function arguments/return values to Add getters to access string attributes of arguments/return values.
apilipenko updated this object.
apilipenko edited edge metadata.

Split into two patches. Parser part is moved to D11058.

apilipenko abandoned this revision.Sep 4 2015, 11:07 AM