mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
[ProfileSummaryInfo] Remove unneeded braces. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -104,9 +104,8 @@ bool ProfileSummaryInfo::isFunctionEntryHot(const Function *F) {
|
||||
bool ProfileSummaryInfo::isFunctionEntryCold(const Function *F) {
|
||||
if (!F)
|
||||
return false;
|
||||
if (F->hasFnAttribute(Attribute::Cold)) {
|
||||
if (F->hasFnAttribute(Attribute::Cold))
|
||||
return true;
|
||||
}
|
||||
if (!computeSummary())
|
||||
return false;
|
||||
auto FunctionCount = F->getEntryCount();
|
||||
|
||||
Reference in New Issue
Block a user