Skip to content

Commit 48bc71b

Browse files
feedback
1 parent 462fcfc commit 48bc71b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,8 @@ class MLEvictAdvisor : public RegAllocEvictionAdvisor {
376376

377377
unsigned getEvictionCount(Register Reg) const {
378378
auto EvictionCountIt = VirtRegEvictionCounts.find(Reg.id());
379-
if (EvictionCountIt != VirtRegEvictionCounts.end()) {
379+
if (EvictionCountIt != VirtRegEvictionCounts.end())
380380
return EvictionCountIt->second;
381-
}
382381
return 0;
383382
}
384383
};

0 commit comments

Comments
 (0)