We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adac2e6 commit 8af4ed5Copy full SHA for 8af4ed5
llvm/lib/CodeGen/BasicBlockSections.cpp
@@ -310,7 +310,8 @@ bool BasicBlockSections::handleBBSections(MachineFunction &MF) {
310
if (BBSectionsType == BasicBlockSection::List) {
311
auto ClusterInfo = getAnalysis<BasicBlockSectionsProfileReaderWrapperPass>()
312
.getClusterInfoForFunction(MF.getName());
313
- if (ClusterInfo.empty()) return false;
+ if (ClusterInfo.empty())
314
+ return false;
315
for (auto &BBClusterInfo : ClusterInfo) {
316
FuncClusterInfo.try_emplace(BBClusterInfo.BBID, BBClusterInfo);
317
}
0 commit comments