This is an archive of the discontinued LLVM Phabricator instance.

[PEI][NFC] Refactoring of the debug instructions frame index replacement
ClosedPublic

Authored by alex-t on Nov 9 2022, 2:09 PM.

Details

Summary

This is required for the upcoming backward PEI::replaceFrameIndices version.
Both forward and backward versions will use same code for debug instruction processing.

Diff Detail

Event Timeline

alex-t created this revision.Nov 9 2022, 2:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 2:09 PM
alex-t requested review of this revision.Nov 9 2022, 2:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 2:09 PM
Herald added a subscriber: wdng. · View Herald Transcript
arsenm accepted this revision.Nov 9 2022, 10:31 PM
arsenm added inline comments.
llvm/lib/CodeGen/PrologEpilogInserter.cpp
1412

No else after return

This revision is now accepted and ready to land.Nov 9 2022, 10:31 PM
alex-t updated this revision to Diff 474513.Nov 10 2022, 5:00 AM

no else after return

alex-t marked an inline comment as done.Nov 10 2022, 5:00 AM