[ADCE] Keep track of if we modified the CFG and preserve analyses accordingly
authorArthur Eubanks <aeubanks@google.com>
Tue, 28 Feb 2023 23:06:51 +0000 (15:06 -0800)
committerArthur Eubanks <aeubanks@google.com>
Wed, 1 Mar 2023 17:22:22 +0000 (09:22 -0800)
commitc89b69a1274a5b822326a9169dcb39cd4403440b
tree8b65d6514f244a12545b8a9df93c5b7323705c9e
parent25af6507e773f34a1b43f837eec918786619c545
[ADCE] Keep track of if we modified the CFG and preserve analyses accordingly

No measurable compile time impact, but might as well resolve the TODO.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D145014
llvm/lib/Transforms/Scalar/ADCE.cpp