arsenm wrote: > I don't know how to write a small test for this. The test case from #109294 is about 600K. You can try llvm-reducing mir test using a strict -stress-regalloc value, it sometimes works https://github.com/llvm/llvm-project/pull/109439