Commit 43daf9c
committed
[LLVM][SelectionDAG] Ensure Constant[FP]SDnode only store references to scalar Constant{Int,FP}.
This fixes a failure path when the use-constant-##-for-###-splat
IR options are enabled.1 parent 9fd7523 commit 43daf9c
File tree
4 files changed
+19
-3
lines changed- llvm
- include/llvm/CodeGen
- lib/CodeGen/SelectionDAG
- test/CodeGen/AArch64
4 files changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1678 | 1678 | | |
1679 | 1679 | | |
1680 | 1680 | | |
| 1681 | + | |
1681 | 1682 | | |
1682 | 1683 | | |
1683 | 1684 | | |
| |||
1730 | 1731 | | |
1731 | 1732 | | |
1732 | 1733 | | |
1733 | | - | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
1734 | 1737 | | |
1735 | 1738 | | |
1736 | 1739 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1656 | 1656 | | |
1657 | 1657 | | |
1658 | 1658 | | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1659 | 1664 | | |
1660 | 1665 | | |
1661 | 1666 | | |
| |||
1809 | 1814 | | |
1810 | 1815 | | |
1811 | 1816 | | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
1812 | 1823 | | |
1813 | 1824 | | |
1814 | 1825 | | |
| |||
1817 | 1828 | | |
1818 | 1829 | | |
1819 | 1830 | | |
1820 | | - | |
| 1831 | + | |
1821 | 1832 | | |
1822 | 1833 | | |
1823 | 1834 | | |
1824 | 1835 | | |
1825 | 1836 | | |
1826 | 1837 | | |
1827 | 1838 | | |
1828 | | - | |
| 1839 | + | |
1829 | 1840 | | |
1830 | 1841 | | |
1831 | 1842 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments