aengelke wrote: The followup was #176646, I just never got around to finish that (and also won't get to that in the near future). Yes, there's room for improvement, feel free to take a look. https://github.com/llvm/llvm-project/pull/102516