llvm.org GIT mirror llvm / 8dadf6b
Fix generation of certain scheduler itineraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36338 91177308-0d34-0410-b5e6-96231b3b80d8 Christopher Lamb 13 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
217217
218218 // For each stage
219219 unsigned N = NStages = StageList.size();
220 for (unsigned i = 0; i < N; i++) {
220 for (unsigned i = 0; i < N;) {
221221 // Next stage
222222 Record *Stage = StageList[i];
223223
240240
241241 // Close off stage
242242 ItinString += " }";
243 if (++i < N) ItinString += ", ";
243244 }
244245 }
245246