[llvm] [llvm-c] Provide LLVMGetGEPResultElementType (PR #95693)
Vaivaswatha N via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 16 09:29:38 PDT 2024
vaivaswatha wrote:
>The result element type is redundant information implied by the source element type and the GEP arguments
True, but then shouldn't `getIndexedType` be available for use in the C-API?. Without it, someone using the C-API would need to reimplement it to compute the result element type (as far as I can tell, please correct me if there's some way to compute it already).
https://github.com/llvm/llvm-project/pull/95693
More information about the llvm-commits
mailing list