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 | ||
---|---|---|
792 | 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. | |
1024 | Use PressureChange instead of auto. | |
1943–1944 | Remove commented code | |
2953 | 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.