[PATCH] D158609: [IR] Treat callbr as special terminator (PR64215)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 24 05:55:51 PDT 2023
nikic updated this revision to Diff 553089.
nikic retitled this revision from "[LICM][LoopSimplify] Create preheader for callbr (PR64215)" to "[IR] Treat callbr as special terminator (PR64215)".
nikic edited the summary of this revision.
nikic added a comment.
Herald added a subscriber: ChuanqiXu.
Rename isExceptionalTerminator -> isSpecialTerminator (special as in has side effect or return value) and add callbr to it. Adjust callers as appropriate.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158609/new/
https://reviews.llvm.org/D158609
Files:
llvm/include/llvm/IR/Instruction.h
llvm/lib/IR/BasicBlock.cpp
llvm/lib/Transforms/Coroutines/CoroElide.cpp
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/lib/Transforms/Scalar/Sink.cpp
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
llvm/lib/Transforms/Utils/SCCPSolver.cpp
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/JumpThreading/callbr.ll
llvm/test/Transforms/JumpThreading/pr46857-callbr.ll
llvm/test/Transforms/LICM/callbr-crash.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158609.553089.patch
Type: text/x-patch
Size: 8069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230824/76dd908c/attachment.bin>
More information about the llvm-commits
mailing list