Commit 9ac4a8f
committed
[EraVM] Preserve register flags after expansion of PTR_TO_INT and MOVEIMM
Some optimizations like MachineCopyPropagation makes
decisions based on the register flags, so in order for
these optimizations to work correctly, we need to preserve
flags after expansion of pseudo instructions.
Signed-off-by: Vladimir Radosavljevic <[email protected]>1 parent 389ffee commit 9ac4a8f
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | | - | |
151 | | - | |
| 151 | + | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
0 commit comments