rnk added a comment. Sorry for the broken patch, I forgot to be extra careful on the codepaths I can't test, clearly. Does this work? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61871/new/ https://reviews.llvm.org/D61871