================ ---------------- AlexeyMerzlyakov wrote: Why don't just make `Register` with `reg_info.value_regs` and `reg_info.invalidate_regs` vectors - it will copy these vectors during its creation? https://github.com/llvm/llvm-project/pull/142932