Commit 64df42b
authored
Handle dedicated scratch registers in the redundant move eliminator (#138)
When a dedicated scratch register is provided by the environment, the
redundant move eliminator needs to assume that this register can be
clobbered by any instruction.
This register can't be specified as a clobber because it is also used by
jump instructions which cannot have operands.1 parent d3a4ee9 commit 64df42b
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
831 | 838 | | |
832 | 839 | | |
833 | 840 | | |
| |||
0 commit comments