https://github.com/jroelofs approved this pull request. LGTM as a refactor. We don't need to solve the spec clarification thing in this PR: https://github.com/llvm/llvm-project/pull/116257/files#r1844489795 https://github.com/llvm/llvm-project/pull/116257