diff options
| author | 2023-06-20 19:11:15 +0200 | |
|---|---|---|
| committer | 2023-06-20 19:11:15 +0200 | |
| commit | 8cea6c2e91641b06921b4e358c73c60981ba366d (patch) | |
| tree | 060198058427b9272f2167abd5b36580cd917ef7 /ir.c | |
| parent | 3abdb713474bd282b9ce322abf7ec3609af2eb12 (diff) | |
add basic mem2reg
promotes uniform stack slots to temporaries
currently only for immutable variables, next thing to implement is ssa
construction
Diffstat (limited to 'ir.c')
| -rw-r--r-- | ir.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -413,6 +413,7 @@ irfini(struct function *fn) extern int nerror; if (!nerror) { abi0(fn); + mem2reg(fn); lowerintrin(fn); mctarg->isel(fn); regalloc(fn); |