[llvm] 3fcc7cf - [NFC][LLVM] Namespace cleanup in StraightLineStrengthReduce (#163769)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 16 10:16:58 PDT 2025


Author: Rahul Joshi
Date: 2025-10-16T10:16:54-07:00
New Revision: 3fcc7cfe38ed20b60335761aca5a60d89677217a

URL: https://github.com/llvm/llvm-project/commit/3fcc7cfe38ed20b60335761aca5a60d89677217a
DIFF: https://github.com/llvm/llvm-project/commit/3fcc7cfe38ed20b60335761aca5a60d89677217a.diff

LOG: [NFC][LLVM] Namespace cleanup in StraightLineStrengthReduce (#163769)

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
index 7d017095c88ce..e94ad1999e32a 100644
--- a/llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
@@ -716,8 +716,6 @@ bool StraightLineStrengthReduce::runOnFunction(Function &F) {
   return Ret;
 }
 
-namespace llvm {
-
 PreservedAnalyses
 StraightLineStrengthReducePass::run(Function &F, FunctionAnalysisManager &AM) {
   const DataLayout *DL = &F.getDataLayout();
@@ -735,5 +733,3 @@ StraightLineStrengthReducePass::run(Function &F, FunctionAnalysisManager &AM) {
   PA.preserve<TargetIRAnalysis>();
   return PA;
 }
-
-} // namespace llvm


        


More information about the llvm-commits mailing list