This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

This commit lower dbg.declare intrinsics targeting swiftasync Arguments into the
MachineFunction's table of variables whose location doesn't change throughout
the function.

Depends on D149881

Diff Detail

Event Timeline

fdeazeve created this revision.May 4 2023, 11:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2023, 11:36 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
fdeazeve requested review of this revision.May 4 2023, 11:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2023, 11:36 AM
aprantl accepted this revision.May 4 2023, 12:47 PM
aprantl added inline comments.
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
1978

return true;
}
if (...) ?

This revision is now accepted and ready to land.May 4 2023, 12:47 PM
fdeazeve updated this revision to Diff 521617.May 12 2023, 5:44 AM

Address review comments / rebase.

fdeazeve updated this revision to Diff 521618.May 12 2023, 5:45 AM

Reword comment slightly.