[PATCH] D141914: WIP: Unwindabort: Add "unwindabort" syntax for the "resume" instruction.

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 03:53:28 PST 2023


jyknight created this revision.
Herald added subscribers: llvm-commits, jdoerfert, hiraditya.
Herald added projects: LLVM, All.
jyknight requested review of this revision.

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 <https://reviews.llvm.org/D141913>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141914

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/Instructions.cpp
  llvm/test/Bitcode/compatibility.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141914.489757.patch
Type: text/x-patch
Size: 7326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/52471c5e/attachment.bin>


More information about the llvm-commits mailing list