tschuett wrote: One of the nice features of GlobalIsel is that you can test passes in isolation. Why did the mir tests did not reveal the bug? End-to-end tests are a SelectionDag feature. https://github.com/llvm/llvm-project/pull/81615