[llvm] [NFC][Coroutines] Remove redundant checks for replacing PrepareFns (PR #98392)

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 19:06:53 PDT 2024


================
@@ -2108,12 +2108,6 @@ PreservedAnalyses CoroSplitPass::run(LazyCallGraph::SCC &C,
   if (Coroutines.empty() && PrepareFns.empty())
     return PreservedAnalyses::all();
 
-  if (Coroutines.empty()) {
----------------
ChuanqiXu9 wrote:

Why is this change NFC?

https://github.com/llvm/llvm-project/pull/98392


More information about the llvm-commits mailing list