Commit 7332811
[vm, compiler] Add Location::MayBeSameAsInput.
`op x, x, y` is often shorter than `op z, x, y` in RISC-V because of the availablity of compressed instructions, but unconditionally using the two-address form requires extra moves when x is live after the instruction.
dart2js.aot.rv64 19767848 -> 19751424
TEST=ci
Change-Id: I92bf2a84fa91bb627e79853da94da51ee7924c34
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/305600
Reviewed-by: Slava Egorov <[email protected]>
Commit-Queue: Ryan Macnak <[email protected]>1 parent 91746d1 commit 7332811
File tree
5 files changed
+27
-10
lines changed- runtime/vm/compiler/backend
5 files changed
+27
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
| 1837 | + | |
1837 | 1838 | | |
1838 | 1839 | | |
1839 | 1840 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3233 | 3233 | | |
3234 | 3234 | | |
3235 | 3235 | | |
3236 | | - | |
3237 | | - | |
3238 | | - | |
| 3236 | + | |
| 3237 | + | |
3239 | 3238 | | |
3240 | 3239 | | |
3241 | 3240 | | |
| |||
4340 | 4339 | | |
4341 | 4340 | | |
4342 | 4341 | | |
4343 | | - | |
4344 | | - | |
4345 | | - | |
| 4342 | + | |
| 4343 | + | |
4346 | 4344 | | |
4347 | 4345 | | |
4348 | 4346 | | |
| |||
5556 | 5554 | | |
5557 | 5555 | | |
5558 | 5556 | | |
5559 | | - | |
| 5557 | + | |
5560 | 5558 | | |
5561 | 5559 | | |
5562 | 5560 | | |
| |||
6171 | 6169 | | |
6172 | 6170 | | |
6173 | 6171 | | |
6174 | | - | |
| 6172 | + | |
6175 | 6173 | | |
6176 | 6174 | | |
6177 | 6175 | | |
| |||
6900 | 6898 | | |
6901 | 6899 | | |
6902 | 6900 | | |
6903 | | - | |
6904 | | - | |
| 6901 | + | |
6905 | 6902 | | |
6906 | 6903 | | |
6907 | 6904 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
1490 | 1500 | | |
1491 | 1501 | | |
1492 | 1502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
412 | 414 | | |
413 | 415 | | |
414 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
| |||
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
401 | 408 | | |
402 | 409 | | |
403 | 410 | | |
| |||
0 commit comments