refactor: Fix trivial compiler warnings (#1675)

This commit is contained in:
oltolm 2025-08-30 13:01:52 +02:00 committed by GitHub
parent de4bf7c2c1
commit 6013ac1823
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 8 additions and 10 deletions

View file

@ -276,7 +276,7 @@ void IMLRA_DeleteAllRanges(ppcImlGenContext_t* ppcImlGenContext)
for(auto& seg : ppcImlGenContext->segmentList2)
{
raLivenessRange* cur;
while(cur = seg->raInfo.linkedList_allSubranges)
while ((cur = seg->raInfo.linkedList_allSubranges))
IMLRA_DeleteRange(ppcImlGenContext, cur);
seg->raInfo.linkedList_allSubranges = nullptr;
seg->raInfo.linkedList_perVirtualRegister.clear();
@ -632,4 +632,4 @@ sint32 IMLRA_CalculateAdditionalCostAfterSplit(raLivenessRange* subrange, raInst
cost = newCost - baseCost;
return cost;
}
}