Skip to content

Commit 96f1472

Browse files
jdoerfertgithub-actions[bot]
authored andcommitted
Automerge: [OpenMP][NFC] Do not collect kernels if they are not used (#135252)
2 parents 904ae1e + 8bd93b8 commit 96f1472

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Transforms/IPO/OpenMPOpt.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5856,8 +5856,6 @@ PreservedAnalyses OpenMPOptCGSCCPass::run(LazyCallGraph::SCC &C,
58565856
if (PrintModuleBeforeOptimizations)
58575857
LLVM_DEBUG(dbgs() << TAG << "Module before OpenMPOpt CGSCC Pass:\n" << M);
58585858

5859-
KernelSet Kernels = getDeviceKernels(M);
5860-
58615859
FunctionAnalysisManager &FAM =
58625860
AM.getResult<FunctionAnalysisManagerCGSCCProxy>(C, CG).getManager();
58635861

0 commit comments

Comments
 (0)