We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 462fcfc commit 48bc71bCopy full SHA for 48bc71b
llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
@@ -376,9 +376,8 @@ class MLEvictAdvisor : public RegAllocEvictionAdvisor {
376
377
unsigned getEvictionCount(Register Reg) const {
378
auto EvictionCountIt = VirtRegEvictionCounts.find(Reg.id());
379
- if (EvictionCountIt != VirtRegEvictionCounts.end()) {
+ if (EvictionCountIt != VirtRegEvictionCounts.end())
380
return EvictionCountIt->second;
381
- }
382
return 0;
383
}
384
};
0 commit comments