v.g.vassilev added a comment. Forgot to mention that we may need to backport this patch to the llvm13 branch. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107231/new/ https://reviews.llvm.org/D107231