This is an archive of the discontinued LLVM Phabricator instance.

WIP: Unwindabort: Add "unwindabort" syntax for the "resume" instruction.
Needs ReviewPublic

Authored by jyknight on Jan 17 2023, 3:53 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This is part of a series of changes to enable generating more
efficient code for C++ "noexcept" functions. See also the RFC,
https://discourse.llvm.org/t/rfc-add-call-unwindabort-to-llvm-ir/62543

The 'unwindabort' modifier on "resume" specifies that execution should
abort in a personality-function-defined manner, instead of continuing
execution in the caller.

This commit adds only the core textual and bitcode IR parsing/writing
for the 'resume' instruction.

Depends on D141913

Diff Detail

Event Timeline

jyknight created this revision.Jan 17 2023, 3:53 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 17 2023, 3:53 AM
lebedev.ri added inline comments.
llvm/lib/AsmParser/LLParser.cpp
7431–7442

This should be in the previous patch

jroelofs added inline comments.
llvm/lib/IR/AsmWriter.cpp
4079–4082
jyknight updated this revision to Diff 546609.Aug 2 2023, 2:22 PM
jyknight marked an inline comment as done.
jyknight edited the summary of this revision. (Show Details)

Rebase patch.

jyknight marked an inline comment as done.Aug 10 2023, 11:52 AM