This is an archive of the discontinued LLVM Phabricator instance.

[Verifier] Allow DW_OP_LLVM_entry_value in IR
ClosedPublic

Authored by fdeazeve on May 3 2023, 12:36 PM.

Details

Summary

A follow up patch will make the CoroSplit pass introduce such operations in the
IR level when it is safe to do so.

Depends on D149748

Diff Detail

Event Timeline

fdeazeve created this revision.May 3 2023, 12:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 12:36 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
fdeazeve requested review of this revision.May 3 2023, 12:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 12:36 PM

I think you may also need to update the IR documentation for this?

fdeazeve updated this revision to Diff 519425.May 4 2023, 3:46 AM

Update docs

I think you may also need to update the IR documentation for this?

Good point! I've added a line about that in the LangRef in this patch, but will also amend the follow up review to note that the CoroSplit pass inserts this operation.

fdeazeve updated this revision to Diff 519426.May 4 2023, 3:49 AM

Be slightly more explicit in the text

fdeazeve updated this revision to Diff 519469.May 4 2023, 6:34 AM

Update verifier code to first check if the operand is a ValueAsMetadata.

aprantl accepted this revision.May 4 2023, 12:21 PM
This revision is now accepted and ready to land.May 4 2023, 12:21 PM
This revision was automatically updated to reflect the committed changes.