fhahn wrote: Note that this PR at the moment also contains the changes from https://github.com/llvm/llvm-project/pull/88039 as the branch there is in my fork so I can't create a stacked PR based on it. https://github.com/llvm/llvm-project/pull/90036