Commit 52e5a72
[AArch64] Remove redundant COPY from loadRegFromStackSlot (llvm#107396)
This removes a redundant 'COPY' instruction that llvm#81716 probably forgot
to remove.
This redundant COPY led to an issue because because code in
LiveRangeSplitting expects that the instruction emitted by
`loadRegFromStackSlot` is an instruction that accesses memory, which
isn't the case for the COPY instruction.
(cherry picked from commit 91a3c6f)1 parent 5cf7845 commit 52e5a72
File tree
2 files changed
+36
-5
lines changed- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64
2 files changed
+36
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5144 | 5144 | | |
5145 | 5145 | | |
5146 | 5146 | | |
5147 | | - | |
5148 | | - | |
5149 | | - | |
5150 | | - | |
5151 | 5147 | | |
5152 | 5148 | | |
5153 | 5149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
219 | | - | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
245 | 280 | | |
246 | 281 | | |
247 | 282 | | |
| |||
0 commit comments