Commit d37a071
committed
Remove deprecated phase 1 IR (ph1_ir_t)
Phase 1 IR is previously served as a solution for bridging C frontend
to backend (elf code generation), which becomes obsolete after the
introduction of SSA middle-end and the introduction of new phase 1 IR
called "insn_t", after this, "ph1_ir_t" is only used for IR dumping
purpose. In this patch, "ph1_ir_t" and related structures &
functionalities are removed and "insn_t" now covers the original usage
of "ph1_ir_t".
Additionally, IR dumping is also replace with "insn_t" with SSA-based
control flow (by dominator graph traversal), and several opcodes are
removed as being only used in "ph1_ir_t" but "insn_t".
Notice that shecc still contains 2 phase IR transformation / generation
after this patch.1 parent 16d93fd commit d37a071
File tree
9 files changed
+519
-1063
lines changed- src
- tests/snapshots
9 files changed
+519
-1063
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
214 | 211 | | |
215 | 212 | | |
216 | 213 | | |
| |||
338 | 335 | | |
339 | 336 | | |
340 | 337 | | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | 338 | | |
353 | 339 | | |
354 | 340 | | |
| |||
469 | 455 | | |
470 | 456 | | |
471 | 457 | | |
472 | | - | |
473 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
474 | 462 | | |
475 | 463 | | |
476 | 464 | | |
| |||
0 commit comments