Use range-based for loops.
The return type has been changed to bool because the method is only
used in boolean contexts.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D152665
[RegAlloc] Simplify RegAllocEvictionAdvisor::canReassign (NFC) ClosedPublic Authored by barannikov88 on Jun 11 2023, 7:04 PM.
Details Summary Use range-based for loops.
Diff Detail
Event Timelinebarannikov88 added a parent revision: D152098: [MC] Add MCRegisterInfo::regunits for iteration over register units.Jun 11 2023, 7:04 PM This revision is now accepted and ready to land.Jun 11 2023, 7:24 PM This revision was landed with ongoing or failed builds.Jun 15 2023, 7:40 PM Closed by commit rGb70b96c0f5a7: [RegAlloc] Simplify RegAllocEvictionAdvisor::canReassign (NFC) (authored by barannikov88). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 531973 llvm/lib/CodeGen/RegAllocEvictionAdvisor.h
llvm/lib/CodeGen/RegAllocGreedy.cpp
|