[llvm] 1ed53d4 - [LoopFlatten] Do not report CFG analyses as up-to-date
Yevgeny Rouban via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 1 01:53:18 PDT 2021
Author: Yevgeny Rouban
Date: 2021-04-01T15:52:36+07:00
New Revision: 1ed53d44d8e9d709fcd96cc6cfc579d71ba4c894
URL: https://github.com/llvm/llvm-project/commit/1ed53d44d8e9d709fcd96cc6cfc579d71ba4c894
DIFF: https://github.com/llvm/llvm-project/commit/1ed53d44d8e9d709fcd96cc6cfc579d71ba4c894.diff
LOG: [LoopFlatten] Do not report CFG analyses as up-to-date
Removes CFGAnalyses from the preserved analyses set
returned by LoopFlattenPass::run().
Reviewed By: Dave Green, Ta-Wei Tu
Differential Revision: https://reviews.llvm.org/D99700
Added:
Modified:
llvm/lib/Transforms/Scalar/LoopFlatten.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/LoopFlatten.cpp b/llvm/lib/Transforms/Scalar/LoopFlatten.cpp
index 5b5196529734..4eea953ec814 100644
--- a/llvm/lib/Transforms/Scalar/LoopFlatten.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopFlatten.cpp
@@ -682,9 +682,7 @@ PreservedAnalyses LoopFlattenPass::run(Function &F,
if (!Flatten(DT, LI, SE, AC, TTI))
return PreservedAnalyses::all();
- PreservedAnalyses PA;
- PA.preserveSet<CFGAnalyses>();
- return PA;
+ return PreservedAnalyses::none();
}
namespace {
More information about the llvm-commits
mailing list