Skip to content

Commit 4d322f0

Browse files
formatting
Created using spr 1.3.6
1 parent 8563a8d commit 4d322f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Transforms/IPO/SampleProfile.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,7 +2238,8 @@ bool SampleProfileLoader::runOnModule(Module &M, ModuleAnalysisManager &AM,
22382238
return retval;
22392239
}
22402240

2241-
bool SampleProfileLoader::runOnFunction(Function &F, ModuleAnalysisManager &AM) {
2241+
bool SampleProfileLoader::runOnFunction(Function &F,
2242+
ModuleAnalysisManager &AM) {
22422243
LLVM_DEBUG(dbgs() << "\n\nProcessing Function " << F.getName() << "\n");
22432244
DILocation2SampleMap.clear();
22442245
// By default the entry count is initialized to -1, which will be treated
@@ -2290,9 +2291,8 @@ bool SampleProfileLoader::runOnFunction(Function &F, ModuleAnalysisManager &AM)
22902291
if (!F.getEntryCount())
22912292
F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real));
22922293
std::unique_ptr<OptimizationRemarkEmitter> OwnedORE;
2293-
auto &FAM =
2294-
AM.getResult<FunctionAnalysisManagerModuleProxy>(*F.getParent())
2295-
.getManager();
2294+
auto &FAM = AM.getResult<FunctionAnalysisManagerModuleProxy>(*F.getParent())
2295+
.getManager();
22962296
ORE = &FAM.getResult<OptimizationRemarkEmitterAnalysis>(F);
22972297

22982298
if (FunctionSamples::ProfileIsCS)

0 commit comments

Comments
 (0)