[llvm] 35ae7ee - Remove spurious ; in ElimAvailExtern.cpp

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 06:40:47 PDT 2024


Author: Mircea Trofin
Date: 2024-09-25T06:40:42-07:00
New Revision: 35ae7ee925e0c6eab962910885db3314c4961aa8

URL: https://github.com/llvm/llvm-project/commit/35ae7ee925e0c6eab962910885db3314c4961aa8
DIFF: https://github.com/llvm/llvm-project/commit/35ae7ee925e0c6eab962910885db3314c4961aa8.diff

LOG: Remove spurious ; in ElimAvailExtern.cpp

Fix post #109203

Added: 
    

Modified: 
    llvm/lib/Transforms/IPO/ElimAvailExtern.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp b/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
index d3d27de4218c87..c997b180937af8 100644
--- a/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
+++ b/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
@@ -135,7 +135,6 @@ EliminateAvailableExternallyPass::run(Module &M, ModuleAnalysisManager &MAM) {
   // for this contextual information. Eliding it in favor of the original would
   // undo these optimizations.
   if (!eliminateAvailableExternally(M, /*Convert=*/(CtxProf && !!(*CtxProf))))
-    ;
-  return PreservedAnalyses::all();
+    return PreservedAnalyses::all();
   return PreservedAnalyses::none();
 }


        


More information about the llvm-commits mailing list