[llvm] [PM] Remove is_analysis label for LoopSimplify (PR #121433)

Akshat Oke via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 1 03:35:04 PST 2025


https://github.com/optimisan created https://github.com/llvm/llvm-project/pull/121433

This reverts part of the changes in #118779 

>From 886f945655aca207f4e6377c076d6eb87bf987e3 Mon Sep 17 00:00:00 2001
From: Akshat Oke <Akshat.Oke at amd.com>
Date: Wed, 1 Jan 2025 11:32:09 +0000
Subject: [PATCH] [PM] Remove is_analysis label for LoopSimplify

This is a transformation pass.
---
 llvm/lib/Transforms/Utils/LoopSimplify.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
index d8298646e18d7e..b3f9f76274d30a 100644
--- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp
+++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp
@@ -778,7 +778,7 @@ INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker)
 INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
 INITIALIZE_PASS_DEPENDENCY(LoopInfoWrapperPass)
 INITIALIZE_PASS_END(LoopSimplify, "loop-simplify", "Canonicalize natural loops",
-                    false, true)
+                    false, false)
 
 // Publicly exposed interface to pass...
 char &llvm::LoopSimplifyID = LoopSimplify::ID;



More information about the llvm-commits mailing list