[IR] Remove LLVMPointerToElt and LLVMAnyPointerToElt intrinsic types (NFC)
authorNikita Popov <npopov@redhat.com>
Thu, 13 Jul 2023 09:26:42 +0000 (11:26 +0200)
committerNikita Popov <npopov@redhat.com>
Fri, 14 Jul 2023 07:30:39 +0000 (09:30 +0200)
commit4136e08f14ae9043b46bbe0a101e8609164d1be5
tree5eba927ca00de9761b3ea633ea2513f9d14785fb
parent5649b24c48ab3b48c1cb89155626a7f128c3f598
[IR] Remove LLVMPointerToElt and LLVMAnyPointerToElt intrinsic types (NFC)

With opaque pointers, LLVMPointerToElt can be replaced by llvm_ptr_ty
and LLVMAnyPointerToElt by llvm_anyptr_ty.

This still leaves LLVMVectorOfAnyPointersToElt, where we can't just
replace with an existing IIT descriptor.

Differential Revision: https://reviews.llvm.org/D155167
llvm/include/llvm/IR/Intrinsics.h
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/IR/Function.cpp