[nfc] simplify promoteIndirectCalls
There's no caller to `promoteIndirectCalls` that would pass a nullptr `ModuleAnalysisManager`, so passing it by reference does away with a bunch of nullptr tests, and also removes the need for a "OwnedORE". Differential Revision: https://reviews.llvm.org/D155027
Loading
Please sign in to comment