[PATCH] D155167: [IR] Remove LLVMPointerToElt and LLVMAnyPointerToElt intrinsic types (NFC)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 02:50:20 PDT 2023


nikic created this revision.
nikic added a reviewer: opaque-pointers.
Herald added subscribers: luke, StephenFan, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, dmgreen, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, jdoerfert, MaskRay.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D155167

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155167.539911.patch
Type: text/x-patch
Size: 21019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230713/1f651ed8/attachment.bin>


More information about the llvm-commits mailing list