MaskRay wrote: We need justification to have this API, ideally tested by an in-tree target, otherwise this is prone to be removed by another contributor as an unused function. https://github.com/llvm/llvm-project/pull/66582