snehasish wrote: Added a unittest to validate the return type (also updated up the return types in the test) in https://github.com/llvm/llvm-project/pull/102391. @nikic ptal, thanks! https://github.com/llvm/llvm-project/pull/101564