DeinAlptraum wrote: I was just made aware of https://github.com/llvm/llvm-project/pull/99793 which is the same as this PR, but this PR is in a better state than the old one, so I will close the old one https://github.com/llvm/llvm-project/pull/175534