[PATCH] D90940: [LoopFlatten] Make it a FunctionPass

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 31 20:49:12 PDT 2021


yrouban added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopFlatten.cpp:558
+  PreservedAnalyses PA;
+  PA.preserveSet<CFGAnalyses>();
+  return PA;
----------------
CFG is changed. Does this pass update CFGAnalyses on its own? If not, I believe this line should be removed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90940/new/

https://reviews.llvm.org/D90940



More information about the llvm-commits mailing list