Displaying 1 result from an estimated 1 matches for "dllvm_no_implicit_address_space".
2020 Jul 22
2
[RFC] Requiring explicit address space arguments for PointerType
...th LLVM_DEFAULT_AS_PARAM(AddressSpace).
This macro expands to an argument with a default of zero unless
LLVM_NO_IMPLICIT_ADDRESS_SPACE is defined, in which case the argument
is required.
This allows incrementally removing the default zero from individual
files/directories by adding
add_definitions(-DLLVM_NO_IMPLICIT_ADDRESS_SPACE=1) to a single
CMakeLists.txt and eventually doing it for the root CMakeLists.txt.
If this sounds like a reasonable approach for avoiding default-zero
address spaces, I'd like to propose the following steps:
1. Clean up and commit https://reviews.llvm.org/D78491 and the
dependency https://rev...