Commit 4a2ebd6
authored
[LV][NFC] Refactor structures used to maintain uncountable exit info (llvm#123219)
I've removed the HasUncountableEarlyExit variable, since we can
already determine whether or not a loop has an early exit by seeing
if we found an uncountable exit.
I have also deleted the old UncountableExitingBlocks and
UncountableExitBlocks lists and replaced them with a single
uncountable edge. This means we don't need to worry about keeping the
list entries in sync and makes it clear which exiting block
corresponds to which exit block.1 parent 28c819c commit 4a2ebd6
File tree
2 files changed
+34
-46
lines changed- llvm
- include/llvm/Transforms/Vectorize
- lib/Transforms/Vectorize
2 files changed
+34
-46
lines changedLines changed: 17 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
395 | 397 | | |
396 | | - | |
| 398 | + | |
397 | 399 | | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 400 | + | |
406 | 401 | | |
407 | 402 | | |
408 | | - | |
| 403 | + | |
| 404 | + | |
409 | 405 | | |
410 | | - | |
411 | | - | |
412 | | - | |
| 406 | + | |
413 | 407 | | |
414 | 408 | | |
415 | 409 | | |
| |||
463 | 457 | | |
464 | 458 | | |
465 | 459 | | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
474 | 465 | | |
475 | 466 | | |
476 | 467 | | |
| |||
654 | 645 | | |
655 | 646 | | |
656 | 647 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | 648 | | |
662 | 649 | | |
663 | 650 | | |
664 | | - | |
665 | 651 | | |
666 | | - | |
667 | | - | |
668 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
669 | 655 | | |
670 | 656 | | |
671 | 657 | | |
| |||
Lines changed: 17 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1631 | 1631 | | |
1632 | 1632 | | |
1633 | 1633 | | |
| 1634 | + | |
1634 | 1635 | | |
1635 | 1636 | | |
1636 | 1637 | | |
1637 | 1638 | | |
1638 | | - | |
1639 | | - | |
1640 | 1639 | | |
1641 | 1640 | | |
1642 | 1641 | | |
| |||
1653 | 1652 | | |
1654 | 1653 | | |
1655 | 1654 | | |
1656 | | - | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
1657 | 1665 | | |
1658 | 1666 | | |
1659 | 1667 | | |
| |||
1663 | 1671 | | |
1664 | 1672 | | |
1665 | 1673 | | |
1666 | | - | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
| 1674 | + | |
| 1675 | + | |
1672 | 1676 | | |
1673 | 1677 | | |
1674 | 1678 | | |
1675 | 1679 | | |
1676 | 1680 | | |
1677 | 1681 | | |
1678 | | - | |
| 1682 | + | |
1679 | 1683 | | |
1680 | 1684 | | |
1681 | 1685 | | |
| |||
1728 | 1732 | | |
1729 | 1733 | | |
1730 | 1734 | | |
1731 | | - | |
| 1735 | + | |
1732 | 1736 | | |
1733 | 1737 | | |
1734 | 1738 | | |
| |||
1751 | 1755 | | |
1752 | 1756 | | |
1753 | 1757 | | |
| 1758 | + | |
1754 | 1759 | | |
1755 | 1760 | | |
1756 | 1761 | | |
| |||
1812 | 1817 | | |
1813 | 1818 | | |
1814 | 1819 | | |
1815 | | - | |
1816 | 1820 | | |
1817 | 1821 | | |
1818 | 1822 | | |
| |||
1822 | 1826 | | |
1823 | 1827 | | |
1824 | 1828 | | |
1825 | | - | |
1826 | 1829 | | |
1827 | | - | |
1828 | | - | |
| 1830 | + | |
1829 | 1831 | | |
1830 | 1832 | | |
1831 | 1833 | | |
| |||
0 commit comments