benlangmuir wrote: @lhames I added these calls after every loop that calls `erase()` on the materialization infos; if there's a more central place I could put this please let me know, but I didn't see an obvious candidate. https://github.com/llvm/llvm-project/pull/88167