zero9178 wrote: +1 to what Alex said. This definitely looks like a bug, but it would also be good to understand why this hasn't yet been an issue with a corresponding test case https://github.com/llvm/llvm-project/pull/144789