https://github.com/vgvassilev commented: That's indeed what I was proposing. Do we observe some performance benefits from this PR on the downstream codebase? https://github.com/llvm/llvm-project/pull/67960