nikic wrote: Why do you need this? Use of getResultElementType() is something of a red flag, and I do not want to expose it to the C API unless there is a strong need. https://github.com/llvm/llvm-project/pull/95693