Wolfram70 wrote: Rebased this since https://github.com/llvm/llvm-project/pull/141223 is merged. @grypp and @durga4github, could you please take another look? https://github.com/llvm/llvm-project/pull/140518