@@ -583,23 +583,23 @@ bool CodeGenPrepare::_run(Function &F) {
583583 // if requested.
584584 if (BBSectionsGuidedSectionPrefix && BBSectionsProfileReader &&
585585 BBSectionsProfileReader->isFunctionHot (F.getName ())) {
586- EverMadeChange |= F.setSectionPrefix (" hot" );
586+ ( void ) F.setSectionPrefix (" hot" );
587587 } else if (ProfileGuidedSectionPrefix) {
588588 // The hot attribute overwrites profile count based hotness while profile
589589 // counts based hotness overwrite the cold attribute.
590590 // This is a conservative behabvior.
591591 if (F.hasFnAttribute (Attribute::Hot) ||
592592 PSI->isFunctionHotInCallGraph (&F, *BFI))
593- EverMadeChange |= F.setSectionPrefix (" hot" );
593+ ( void ) F.setSectionPrefix (" hot" );
594594 // If PSI shows this function is not hot, we will placed the function
595595 // into unlikely section if (1) PSI shows this is a cold function, or
596596 // (2) the function has a attribute of cold.
597597 else if (PSI->isFunctionColdInCallGraph (&F, *BFI) ||
598598 F.hasFnAttribute (Attribute::Cold))
599- EverMadeChange |= F.setSectionPrefix (" unlikely" );
599+ ( void ) F.setSectionPrefix (" unlikely" );
600600 else if (ProfileUnknownInSpecialSection && PSI->hasPartialSampleProfile () &&
601601 PSI->isFunctionHotnessUnknown (F))
602- EverMadeChange |= F.setSectionPrefix (" unknown" );
602+ ( void ) F.setSectionPrefix (" unknown" );
603603 }
604604
605605 // / This optimization identifies DIV instructions that can be
0 commit comments