Commit 9a64d8a
committed
[SCEV] Cache collected loop guards. NFCI
This tries to compensate for it by caching the collected loop guards, which gives a -0.07% geomean reduction for stage2-O3: https://llvm-compile-time-tracker.com/compare.php?from=aff98e4be05a1060e489ce62a88ee0ff365e571a&to=198a76db2c0b8fbda5374ffd195731a9d47469e3&stat=instructions:u
LoopAccessAnalysis already had a LoopGuards cache for the innermost loop, so this hoists it up into ScalarEvolution.1 parent aff98e4 commit 9a64d8a
File tree
4 files changed
+22
-26
lines changed- llvm
- include/llvm/Analysis
- lib/Analysis
4 files changed
+22
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | 337 | | |
341 | 338 | | |
342 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
1349 | | - | |
1350 | 1349 | | |
1351 | 1350 | | |
1352 | 1351 | | |
| |||
1651 | 1650 | | |
1652 | 1651 | | |
1653 | 1652 | | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1654 | 1657 | | |
1655 | 1658 | | |
1656 | 1659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1945 | 1945 | | |
1946 | 1946 | | |
1947 | 1947 | | |
1948 | | - | |
1949 | | - | |
1950 | | - | |
1951 | | - | |
1952 | | - | |
| 1948 | + | |
| 1949 | + | |
1953 | 1950 | | |
1954 | 1951 | | |
1955 | 1952 | | |
1956 | | - | |
1957 | | - | |
| 1953 | + | |
| 1954 | + | |
1958 | 1955 | | |
1959 | 1956 | | |
1960 | 1957 | | |
| |||
2057 | 2054 | | |
2058 | 2055 | | |
2059 | 2056 | | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
| 2057 | + | |
2064 | 2058 | | |
2065 | 2059 | | |
2066 | 2060 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8417 | 8417 | | |
8418 | 8418 | | |
8419 | 8419 | | |
| 8420 | + | |
8420 | 8421 | | |
8421 | 8422 | | |
8422 | 8423 | | |
| |||
10551 | 10552 | | |
10552 | 10553 | | |
10553 | 10554 | | |
10554 | | - | |
10555 | 10555 | | |
10556 | | - | |
| 10556 | + | |
10557 | 10557 | | |
10558 | 10558 | | |
10559 | 10559 | | |
| |||
10570 | 10570 | | |
10571 | 10571 | | |
10572 | 10572 | | |
10573 | | - | |
| 10573 | + | |
10574 | 10574 | | |
10575 | 10575 | | |
10576 | 10576 | | |
| |||
10611 | 10611 | | |
10612 | 10612 | | |
10613 | 10613 | | |
10614 | | - | |
| 10614 | + | |
10615 | 10615 | | |
10616 | 10616 | | |
10617 | 10617 | | |
| |||
10629 | 10629 | | |
10630 | 10630 | | |
10631 | 10631 | | |
10632 | | - | |
| 10632 | + | |
10633 | 10633 | | |
10634 | 10634 | | |
10635 | 10635 | | |
| |||
13674 | 13674 | | |
13675 | 13675 | | |
13676 | 13676 | | |
| 13677 | + | |
13677 | 13678 | | |
13678 | 13679 | | |
13679 | 13680 | | |
| |||
15889 | 15890 | | |
15890 | 15891 | | |
15891 | 15892 | | |
15892 | | - | |
15893 | | - | |
15894 | | - | |
15895 | | - | |
15896 | | - | |
15897 | | - | |
| 15893 | + | |
| 15894 | + | |
| 15895 | + | |
| 15896 | + | |
| 15897 | + | |
| 15898 | + | |
| 15899 | + | |
15898 | 15900 | | |
0 commit comments