[PATCH] D155079: [IR] Remove -opaque-pointers option

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 05:59:17 PDT 2023


nikic created this revision.
nikic added a reviewer: opaque-pointers.
Herald added subscribers: ormris, StephenFan, steven_wu, hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The test migration to opaque pointers has finished, so we can finally drop typed pointer support from LLVM \o/

This removes the ability to disable typed pointers, as well as the `-opaque-pointers` option, but otherwise doesn't yet touch any API surface. I'll leave deprecation/removal of compatibility APIs to future changes.

Note that this will break some tests in the experimental SPIRV backend, because the maintainers have failed to update their tests in a reasonable time-frame, despite multiple warnings. In accordance with our experimental target policy, this is not a blocking concern. This issue is tracked at https://github.com/llvm/llvm-project/issues/60133.


https://reviews.llvm.org/D155079

Files:
  llvm/docs/OpaquePointers.rst
  llvm/docs/ReleaseNotes.rst
  llvm/lib/IR/LLVMContext.cpp
  llvm/lib/IR/LLVMContextImpl.cpp
  llvm/lib/IR/LLVMContextImpl.h
  llvm/lib/IR/Type.cpp
  llvm/test/Assembler/ptr-outside-opaque-pointers-mode.ll
  llvm/test/Bitcode/opaque-ptr.ll
  llvm/test/LTO/X86/Inputs/type-mapping-bug4_0.ll
  llvm/test/LTO/X86/Inputs/type-mapping-bug4_1.ll
  llvm/test/LTO/X86/type-mapping-bug4.ll
  llvm/test/Linker/Inputs/type-unique-name.ll
  llvm/test/Linker/type-unique-name.ll
  llvm/test/Other/mixed-opaque-ptrs.ll
  llvm/unittests/IR/ConstantsTest.cpp
  llvm/unittests/IR/TypesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155079.539519.patch
Type: text/x-patch
Size: 16394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/a9912d78/attachment.bin>


More information about the llvm-commits mailing list