[all-commits] [llvm/llvm-project] 8ecc6c: [IR] Partially remove pointer element types from i...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 13 01:01:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ecc6c9378399bf8b7a0cec72e73138ac686a1bb
      https://github.com/llvm/llvm-project/commit/8ecc6c9378399bf8b7a0cec72e73138ac686a1bb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/include/llvm/IR/IntrinsicsARM.td
    M llvm/include/llvm/IR/IntrinsicsHexagon.td
    M llvm/include/llvm/IR/IntrinsicsNVVM.td
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/include/llvm/IR/IntrinsicsSystemZ.td
    M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
    M llvm/include/llvm/IR/IntrinsicsX86.td
    M llvm/lib/IR/Function.cpp
    R llvm/test/TableGen/intrinsic-pointer-to-any.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list