[PATCH] D111328: [LoopFlatten] Mark loop analyses as perserved

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 12:57:10 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc5245dd33904: [LoopFlatten] Mark loop analyses as preserved (authored by nikic).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111328

Files:
  llvm/lib/Transforms/Scalar/LoopFlatten.cpp


Index: llvm/lib/Transforms/Scalar/LoopFlatten.cpp
===================================================================
--- llvm/lib/Transforms/Scalar/LoopFlatten.cpp
+++ llvm/lib/Transforms/Scalar/LoopFlatten.cpp
@@ -815,7 +815,7 @@
   if (!Changed)
     return PreservedAnalyses::all();
 
-  return PreservedAnalyses::none();
+  return getLoopPassPreservedAnalyses();
 }
 
 namespace {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111328.377979.patch
Type: text/x-patch
Size: 386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211007/de5f8ade/attachment.bin>


More information about the llvm-commits mailing list