llvm-project/llvm/unittests/Frontend
Nikita Popov 41d5033eb1 [IR] Enable opaque pointers by default
This enabled opaque pointers by default in LLVM. The effect of this
is twofold:

* If IR that contains *neither* explicit ptr nor %T* types is passed
  to tools, we will now use opaque pointer mode, unless
  -opaque-pointers=0 has been explicitly passed.
* Users of LLVM as a library will now default to opaque pointers.
  It is possible to opt-out by calling setOpaquePointers(false) on
  LLVMContext.

A cmake option to toggle this default will not be provided. Frontends
or other tools that want to (temporarily) keep using typed pointers
should disable opaque pointers via LLVMContext.

Differential Revision: https://reviews.llvm.org/D126689
2022-06-02 09:40:56 +02:00
..
CMakeLists.txt [LLVMFrontend][openacc] Add basic unit tests for functions in LLVMFrontendOpenACC 2020-12-03 11:27:18 -05:00
OpenACCTest.cpp [LLVMFrontend][openacc] Add basic unit tests for functions in LLVMFrontendOpenACC 2020-12-03 11:27:18 -05:00
OpenMPContextTest.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
OpenMPIRBuilderTest.cpp [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
OpenMPParsingTest.cpp [mlir][OpenMP] Generating enums in accordance with the guidelines 2022-03-09 20:10:45 +05:30