[llvm] 07a1749 - Remove unused class variable ModuleSlice.
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 17 14:37:25 PDT 2020
Author: Eric Christopher
Date: 2020-06-17T14:33:29-07:00
New Revision: 07a1749081bac07515d357fd96165662031de527
URL: https://github.com/llvm/llvm-project/commit/07a1749081bac07515d357fd96165662031de527
DIFF: https://github.com/llvm/llvm-project/commit/07a1749081bac07515d357fd96165662031de527.diff
LOG: Remove unused class variable ModuleSlice.
Added:
Modified:
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
index 9a0e0851822c..bd44170682be 100644
--- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -259,8 +259,7 @@ struct OpenMPOpt {
OpenMPOpt(SmallVectorImpl<Function *> &SCC, CallGraphUpdater &CGUpdater,
OptimizationRemarkGetter OREGetter,
OMPInformationCache &OMPInfoCache)
- : M(*(*SCC.begin())->getParent()), SCC(SCC),
- ModuleSlice(OMPInfoCache.ModuleSlice), CGUpdater(CGUpdater),
+ : M(*(*SCC.begin())->getParent()), SCC(SCC), CGUpdater(CGUpdater),
OREGetter(OREGetter), OMPInfoCache(OMPInfoCache) {}
/// Run all OpenMP optimizations on the underlying SCC/ModuleSlice.
@@ -611,9 +610,6 @@ struct OpenMPOpt {
/// The SCC we are operating on.
SmallVectorImpl<Function *> &SCC;
- /// The slice of the module we are allowed to look at.
- SmallPtrSetImpl<Function *> &ModuleSlice;
-
/// Callback to update the call graph, the first argument is a removed call,
/// the second an optional replacement call.
CallGraphUpdater &CGUpdater;
More information about the llvm-commits
mailing list