Commit 7dc20ab
committed
[AArch64] Fix spillfill-sve.mir with expensive checks.
This fixes an issue introduced by PR #70679.
Using constrainRegClass() is not strong enough to actually force
the use of a register to be a PPR register class. It will need an
actual COPY to do the conversion.
The downside is that this introduces an extra register, which is an
issue we may want to fix at a later point using a custom copy operation
where the register allocator uses the same register when it can.1 parent 9220e0e commit 7dc20ab
File tree
2 files changed
+22
-9
lines changed- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64
2 files changed
+22
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4773 | 4773 | | |
4774 | 4774 | | |
4775 | 4775 | | |
4776 | | - | |
4777 | | - | |
4778 | | - | |
| 4776 | + | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
4779 | 4783 | | |
4780 | 4784 | | |
4781 | 4785 | | |
| |||
4931 | 4935 | | |
4932 | 4936 | | |
4933 | 4937 | | |
4934 | | - | |
| 4938 | + | |
4935 | 4939 | | |
4936 | 4940 | | |
4937 | 4941 | | |
| |||
4950 | 4954 | | |
4951 | 4955 | | |
4952 | 4956 | | |
4953 | | - | |
| 4957 | + | |
4954 | 4958 | | |
4955 | 4959 | | |
4956 | 4960 | | |
| |||
5061 | 5065 | | |
5062 | 5066 | | |
5063 | 5067 | | |
5064 | | - | |
| 5068 | + | |
5065 | 5069 | | |
5066 | 5070 | | |
| 5071 | + | |
| 5072 | + | |
| 5073 | + | |
| 5074 | + | |
5067 | 5075 | | |
5068 | 5076 | | |
5069 | 5077 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
| |||
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
146 | | - | |
| 151 | + | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
| |||
0 commit comments