From 8444303e2987ce1cd5eb20120549d8b41e7e8ecf Mon Sep 17 00:00:00 2001 From: Rahul Joshi Date: Thu, 16 Oct 2025 05:56:59 -0700 Subject: [PATCH] [NFC][LLVM] Namespace cleanup in StraightLineStrengthReduce --- llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp | 4 ---- 1 file changed, 4 deletions(-) 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(); return PA; } - -} // namespace llvm