davemgreen wrote: >> I think this function can be removed. > Don't know, but I'm not going to attempt it. Merge this or not then? I can give it a go, so long as no-one objects. I'll put together a patch. https://github.com/llvm/llvm-project/pull/141662