Revert "[SimplifyCFG] When eliminating `unreachable` landing pads, mark `call`s as...
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 12 Jan 2023 22:12:07 +0000 (01:12 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 12 Jan 2023 22:18:56 +0000 (01:18 +0300)
commitfbcefff9d0a3f5e97270ef8e7b8e0f2afc33dc1c
treedc0456f81b671ab1f775c02910382e890a7e82e2
parent80246b22a62140fd30131bee571d7fd84d2e2522
Revert "[SimplifyCFG] When eliminating `unreachable` landing pads, mark `call`s as `nounwind`"

The bool is in the wrong place and might get implicitly converted from
the previous second argument - a pointer. Thinking about it more,
it's not really the best place for that functionality anyways,
only a single caller needs that.

This reverts commit 3c5b1f2d94d021005ce3769a4402d4a4ae843989.
13 files changed:
llvm/include/llvm/Transforms/Utils/Local.h
llvm/lib/Transforms/Utils/Local.cpp
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll
llvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll
llvm/test/Transforms/SimplifyCFG/X86/2010-03-30-InvokeCrash.ll
llvm/test/Transforms/SimplifyCFG/X86/bug-25299.ll
llvm/test/Transforms/SimplifyCFG/X86/empty-cleanuppad.ll
llvm/test/Transforms/SimplifyCFG/empty-catchpad.ll
llvm/test/Transforms/SimplifyCFG/invoke_unwind.ll
llvm/test/Transforms/SimplifyCFG/invoke_unwind_lifetime.ll
llvm/test/Transforms/SimplifyCFG/lifetime-landingpad.ll
llvm/test/Transforms/SimplifyCFG/wineh-unreachable.ll