https://github.com/sjoerdmeijer approved this pull request. Looks like a good fix to me. Please wait a day before merging this in case @nikic has more comments. https://github.com/llvm/llvm-project/pull/148241