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
Event Timeline
lib/CodeGen/MachineScheduler.cpp | ||
---|---|---|
793 | 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 | Use PressureChange instead of auto. | |
1944–1945 | Remove commented code | |
2956 | Remove commented code. There is more instances of this coming. |
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.