Skip to content

Commit

Permalink
Merge pull request #1419 from lioncash/ra-cast
Browse files Browse the repository at this point in the history
RegisterAllocationPass: Resolve sign comparison mismatch in CalculateNodeInterference()
  • Loading branch information
Sonicadvance1 authored Dec 3, 2021
2 parents 8ef0278 + cdab71e commit 597e4e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ namespace {
}

BucketList<32, uint32_t> Active;
for (int OpNodeId = 0; OpNodeId < IR->GetSSACount(); OpNodeId++) {
for (size_t OpNodeId = 0; OpNodeId < IR->GetSSACount(); OpNodeId++) {
// Expire end intervals first
SpanEnd[OpNodeId].Iterate([&](uint32_t EdgeInfo) {
Active.Erase(InfoIDClass(EdgeInfo));
Expand Down

0 comments on commit 597e4e1

Please sign in to comment.