Commit e871143
authored
[SCEV] Remove EqCacheSCEV (llvm#133186)
This was added in https://reviews.llvm.org/D26389 to help with extremely
deep SCEV expressions.
However, this is wrong since we may cache sub-SCEVs to be equivalent
that CompareValueComplexity returned 0 due to hitting the max comparison
depth.
This also improves compile time in some compiles:
https://llvm-compile-time-tracker.com/compare.php?from=34fa037c4fd7f38faada5beedc63ad234e904247&to=e241ecf999f4dd42d4b951d4a5d4f8eabeafcff0&stat=instructions:u
Similar to llvm#100721.
Fixes llvm#130688.1 parent 179062b commit e871143
File tree
2 files changed
+34
-13
lines changed- llvm
- lib/Analysis
- unittests/Analysis
2 files changed
+34
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
657 | | - | |
| 656 | + | |
658 | 657 | | |
659 | 658 | | |
660 | 659 | | |
| |||
665 | 664 | | |
666 | 665 | | |
667 | 666 | | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | 667 | | |
672 | 668 | | |
673 | 669 | | |
| |||
681 | 677 | | |
682 | 678 | | |
683 | 679 | | |
684 | | - | |
685 | | - | |
686 | 680 | | |
687 | 681 | | |
688 | 682 | | |
| |||
747 | 741 | | |
748 | 742 | | |
749 | 743 | | |
750 | | - | |
751 | | - | |
| 744 | + | |
752 | 745 | | |
753 | 746 | | |
754 | 747 | | |
755 | | - | |
756 | 748 | | |
757 | 749 | | |
758 | 750 | | |
| |||
775 | 767 | | |
776 | 768 | | |
777 | 769 | | |
778 | | - | |
779 | | - | |
780 | 770 | | |
781 | 771 | | |
782 | | - | |
| 772 | + | |
783 | 773 | | |
784 | 774 | | |
785 | 775 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1706 | 1706 | | |
1707 | 1707 | | |
1708 | 1708 | | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
1709 | 1740 | | |
0 commit comments