[PATCH] D141915: WIP: Unwindabort: Add "unwindabort" syntax for the "catchswitch" instruction.
James Y Knight via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 03:53:32 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 specifies that if none of the handlers
match, execution should abort the program (instead of unwinding to a
specified block, or to the parent function).
This commit adds only the core textual and bitcode IR parsing/writing
for the 'unwindabort' instruction.
Depends on D141914 <https://reviews.llvm.org/D141914>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141915
Files:
llvm/docs/LangRef.rst
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: D141915.489758.patch
Type: text/x-patch
Size: 8401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/20b111bb/attachment.bin>
More information about the llvm-commits
mailing list