[Inliner] Make ModuleInlinerWrapperPass return PreservedAnalyses::all()
authorArthur Eubanks <aeubanks@google.com>
Mon, 26 Apr 2021 19:53:09 +0000 (12:53 -0700)
committerArthur Eubanks <aeubanks@google.com>
Tue, 27 Apr 2021 00:22:35 +0000 (17:22 -0700)
commitfd1ff5ee0388af9eb373d903a1644e6cd2c96d9d
tree46d3e4b4b8ee72e0e4ba3c7e182c4b9ae56335fd
parentc6d5e6bc6186b03089a67ad06f5e052aed72e761
[Inliner] Make ModuleInlinerWrapperPass return PreservedAnalyses::all()

The ModulePassManager should already have taken care of all analysis
invalidation. Without this change, upcoming changes will cause more
invalidation than necessary.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D101320
llvm/lib/Transforms/IPO/Inliner.cpp