<p>just learned about "sandbox IR" for LLVM which allows transactional changes to IR, which should be super useful for experimental passes that might make things better, might make things worse, and it's hard to tell which until the pass has finished</p><p><a href="https://llvm.org/docs/SandboxIR.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">llvm.org/docs/SandboxIR.html</span><span class="invisible"></span></a></p>