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.
| Paths 
 |  Differential  D155167  
[IR] Remove LLVMPointerToElt and LLVMAnyPointerToElt intrinsic types (NFC) ClosedPublic Authored by nikic on Jul 13 2023, 2:50 AM. 
Details 
 Summary 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. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 13 2023, 8:53 AM This revision was landed with ongoing or failed builds.Jul 14 2023, 12:30 AM Closed by commit rG4136e08f14ae: [IR] Remove LLVMPointerToElt and LLVMAnyPointerToElt intrinsic types (NFC) (authored by nikic).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 539911 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
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||