diff options
| author | 2026-03-24 11:55:13 +0100 | |
|---|---|---|
| committer | 2026-03-24 11:55:13 +0100 | |
| commit | 5c209b4df903c5f71cdc8320adbb34f1499f9232 (patch) | |
| tree | 729b346983b3629e87379bf1ad14a1630c8d9940 /src/ir.h | |
| parent | e00db1c7a360ccf83a1b39408db5d06692fe7e91 (diff) | |
mem2reg rewrite
Do it in 2 passes: 1. gather variables, 2. step thru RPO transforming
loads/stores to each variable. More elegant solution to f9e3a52eaa.
More efficient since all variable usages are visited in CFG order, which
matters due to block sealing.
Diffstat (limited to 'src/ir.h')
| -rw-r--r-- | src/ir.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -105,6 +105,7 @@ enum op { #define oisalloca(o) in_range(o, Oalloca1, Oalloca16) #define oisstore(o) in_range(o, Ostorei8, Ostoref64) #define oisload(o) in_range(o, Oloads8, Oloadf64) +#define oisloadstore(o) in_range(o, Oloads8, Ostoref64) extern const char *opnames[]; extern const uchar opnoper[]; |