Commit 93ebf52
authored
JIT: Replace
Part of #107749. Based on the plans outlined in #111989 (comment), we want to remove phases that prematurely tweak the initial layout fed into 3-opt; fgMoveHotJumps is one such phase. However, initial attempts to remove it incurred large size increases on x86/x64, suggesting there was some utility in moving blocks closer to their hottest successors to keep the layout compact. To avoid derailing my consolidation plan, I've decided to refactor fgMoveHotJumps into a utility for 3-opt to use. For now, we will continue to use this pass to try to keep the layout compact. In the future, this functionality may be useful for churning the initial layout into 3-opt to discover new local-optimal layouts.fgMoveHotJumps with 3-opt utility (#112016)1 parent b606aa3 commit 93ebf52
2 files changed
+189
-235
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6371 | 6371 | | |
6372 | 6372 | | |
6373 | 6373 | | |
6374 | | - | |
| 6374 | + | |
6375 | 6375 | | |
6376 | 6376 | | |
6377 | | - | |
| 6377 | + | |
| 6378 | + | |
6378 | 6379 | | |
6379 | 6380 | | |
6380 | 6381 | | |
6381 | 6382 | | |
| 6383 | + | |
6382 | 6384 | | |
6383 | 6385 | | |
6384 | 6386 | | |
6385 | 6387 | | |
6386 | 6388 | | |
6387 | 6389 | | |
6388 | 6390 | | |
6389 | | - | |
6390 | | - | |
6391 | | - | |
6392 | 6391 | | |
6393 | 6392 | | |
6394 | 6393 | | |
| |||
0 commit comments