sommerlukas wrote: After offline discussion with @hanhanW and @MaheshRavishankar, I took a fresh approach to this change. I've opened a new PR for it in https://github.com/llvm/llvm-project/pull/171796 and will close this one. https://github.com/llvm/llvm-project/pull/170104