https://github.com/arsenm commented: Can you add an IR test that hits this? This feels like something more complicated than shrink instructions should need to deal with, and this should have folded out long before https://github.com/llvm/llvm-project/pull/181966