Converts to range-loop usage in machine scheduler. This makes the code neater and easier to read, and also keeps pace of the machine scheduler implementation with C++11 features.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/CodeGen/MachineScheduler.cpp | ||
---|---|---|
793 ↗ | (On Diff #102948) | We already have the iteration variable, no need to keep this one around. Please rename the iteration variable to SU and change the users to SU.xxx and &SU. |
1025 ↗ | (On Diff #102948) | Use PressureChange instead of auto. |
1944–1945 ↗ | (On Diff #102948) | Remove commented code |
2956 ↗ | (On Diff #102948) | Remove commented code. There is more instances of this coming. |