[IR] Partially remove pointer element types from intrinsic signatures (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 12 Jul 2023 14:05:28 +0000 (16:05 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 13 Jul 2023 08:00:51 +0000 (10:00 +0200)
commit8ecc6c9378399bf8b7a0cec72e73138ac686a1bb
tree9d76e11cc0863fc94d101ffbd2c1306c7de503f7
parent2c38d6332345eddb7ed0509052383dc12faef767
[IR] Partially remove pointer element types from intrinsic signatures (NFC)

As typed pointers are no longer supported, we should no longer
specify element types in intrinsic signatures.

The only meaningful pointer types are now:

    llvm_ptr_ty -> ptr
    llvm_anyptr_ty -> ptr addrspace(any)
    LLVMQualPointerType<N> -> ptr addrspace(N)

This is only "partially" because we also have a bunch of special
IIT descriptors like LLVMPointerTo, LLVMPointerToElt and
LLVMAnyPointerToElt, which I'll leave for a later revision.

Differential Revision: https://reviews.llvm.org/D155086
12 files changed:
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
llvm/include/llvm/IR/IntrinsicsARM.td
llvm/include/llvm/IR/IntrinsicsHexagon.td
llvm/include/llvm/IR/IntrinsicsNVVM.td
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/include/llvm/IR/IntrinsicsSystemZ.td
llvm/include/llvm/IR/IntrinsicsWebAssembly.td
llvm/include/llvm/IR/IntrinsicsX86.td
llvm/lib/IR/Function.cpp
llvm/test/TableGen/intrinsic-pointer-to-any.td [deleted file]