This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG][DebugInfo] Implement translation of entry_value vars
ClosedPublic

Authored by fdeazeve on May 4 2023, 11:40 AM.

Details

Summary

This commit implements SelectionDAG lowering of dbg.declare intrinsics targeting
swiftasync Arguments, by putting them in the MachineFunction's table of
variables whose location doesn't change throughout the function.

Depends on D149882

Diff Detail

Event Timeline

fdeazeve created this revision.May 4 2023, 11:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2023, 11:40 AM
fdeazeve requested review of this revision.May 4 2023, 11:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2023, 11:40 AM
aprantl added inline comments.May 4 2023, 12:48 PM
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
1345

comment that this is for async arguments?

aprantl accepted this revision.May 4 2023, 12:48 PM
This revision is now accepted and ready to land.May 4 2023, 12:48 PM

Does this need any work in GlobalISel?

Does this need any work in GlobalISel?

Sorry just noticed it’s done already in the prior patch.

This revision was landed with ongoing or failed builds.May 12 2023, 9:00 AM
This revision was automatically updated to reflect the committed changes.