This is an archive of the discontinued LLVM Phabricator instance.

Make DIExpression plain metadata and not an MDNode
Needs RevisionPublic

Authored by rnk on Aug 29 2017, 4:01 PM.

Details

Summary

DO NOT COMMIT

This was my attempt to implement step #4 in http://llvm.org/PR22780

I don't think this is worth it. Even though DIExpression doesn't need to be an
MDNode, it's a nice simplification for it to be one. I'm just uploading this to
save it somewhere public that I can link to from the bug.

Event Timeline

rnk created this revision.Aug 29 2017, 4:01 PM
dexonsmith edited edge metadata.Aug 29 2017, 5:40 PM

Yes, abandoning seems reasonable. I think the main idea of step 4 when I filed PR22780 was to reduce memory usage, but this didn't turn out to be a bottleneck.

dexonsmith requested changes to this revision.Oct 17 2020, 6:10 AM
This revision now requires changes to proceed.Oct 17 2020, 6:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 17 2020, 6:10 AM