diff --git a/ir/transform/regalloc.c b/ir/transform/regalloc.c new file mode 100644 index 0000000..e9ba597 --- /dev/null +++ b/ir/transform/regalloc.c @@ -0,0 +1,8 @@ +#include "../ir.h" + +void vx_IrBlock_regalloc(vx_IrBlock * block) { + for (size_t i = 0; i < block->as_root.vars_len; i ++) { + lifetime l = block->as_root.vars[i].ll_lifetime; + if (l.first == NULL) + continue; +