https://github.com/PiJoules approved this pull request. LGTM and can confirm this fixes https://github.com/llvm/llvm-project/issues/156760. Could you add that repro as a regression test here. https://github.com/llvm/llvm-project/pull/157171