[llvm] d6e3e55 - Remove unused Debugging variable.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 14:37:48 PDT 2020


Author: Eric Christopher
Date: 2020-05-13T14:37:26-07:00
New Revision: d6e3e55c40a973e233b168c19b1f1718212b41a4

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

LOG: Remove unused Debugging variable.

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/IPO/Inliner.h
    llvm/lib/Transforms/IPO/Inliner.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/IPO/Inliner.h b/llvm/include/llvm/Transforms/IPO/Inliner.h
index 442c12a9adcf..5a5b561adde0 100644
--- a/llvm/include/llvm/Transforms/IPO/Inliner.h
+++ b/llvm/include/llvm/Transforms/IPO/Inliner.h
@@ -138,7 +138,6 @@ class ModuleInlinerWrapperPass
   const InlineParams Params;
   const InliningAdvisorMode Mode;
   const unsigned MaxDevirtIterations;
-  const bool Debugging;
   CGSCCPassManager PM;
   ModulePassManager MPM;
 };

diff  --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp
index 7ff905912257..4e94d44c1b40 100644
--- a/llvm/lib/Transforms/IPO/Inliner.cpp
+++ b/llvm/lib/Transforms/IPO/Inliner.cpp
@@ -1041,7 +1041,7 @@ ModuleInlinerWrapperPass::ModuleInlinerWrapperPass(InlineParams Params,
                                                    InliningAdvisorMode Mode,
                                                    unsigned MaxDevirtIterations)
     : Params(Params), Mode(Mode), MaxDevirtIterations(MaxDevirtIterations),
-      Debugging(Debugging), PM(Debugging), MPM(Debugging) {
+      PM(Debugging), MPM(Debugging) {
   // Run the inliner first. The theory is that we are walking bottom-up and so
   // the callees have already been fully optimized, and we want to inline them
   // into the callers so that our optimizations can reflect that.


        


More information about the llvm-commits mailing list