Commit ddfdecb
authored
[MISched] Add statistics to quantify scheduling (#138090)
When diagnosing scheduler issues it can be useful to know how scheduling
changes the order of instructions, particularly for large functions when
it's not trivial to figure out from the debug output by looking at the
scheduling unit (SU) IDs.
This adds pre-RA and post-RA statistics to track 1) the number of
instructions that remain in source order after scheduling and 2) the
total number of instructions scheduled, to compare 1) against.1 parent 8286378 commit ddfdecb
File tree
2 files changed
+41
-0
lines changed- llvm
- include/llvm/CodeGen
- lib/CodeGen
2 files changed
+41
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1199 | 1202 | | |
1200 | 1203 | | |
1201 | 1204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
77 | 85 | | |
78 | 86 | | |
79 | 87 | | |
| |||
3505 | 3513 | | |
3506 | 3514 | | |
3507 | 3515 | | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
3508 | 3519 | | |
3509 | 3520 | | |
3510 | 3521 | | |
| |||
3981 | 3992 | | |
3982 | 3993 | | |
3983 | 3994 | | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
| 4006 | + | |
3984 | 4007 | | |
3985 | 4008 | | |
3986 | 4009 | | |
| |||
4104 | 4127 | | |
4105 | 4128 | | |
4106 | 4129 | | |
| 4130 | + | |
| 4131 | + | |
| 4132 | + | |
4107 | 4133 | | |
4108 | 4134 | | |
4109 | 4135 | | |
| |||
4323 | 4349 | | |
4324 | 4350 | | |
4325 | 4351 | | |
| 4352 | + | |
| 4353 | + | |
| 4354 | + | |
| 4355 | + | |
| 4356 | + | |
| 4357 | + | |
| 4358 | + | |
| 4359 | + | |
| 4360 | + | |
| 4361 | + | |
| 4362 | + | |
| 4363 | + | |
4326 | 4364 | | |
4327 | 4365 | | |
4328 | 4366 | | |
| |||
0 commit comments