[clang] [llvm] [SPIR-V] DRAFT: Shader built-ins - no spec change (PR #116393)
Nathan Gauër via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 18 04:21:59 PST 2024
================
@@ -43,7 +43,7 @@ void neg() {
template <long int I>
void tooBig() {
- __attribute__((address_space(I))) int *bounds; // expected-error {{address space is larger than the maximum supported (8388586)}}
+ __attribute__((address_space(I))) int *bounds; // expected-error {{address space is larger than the maximum supported (8388585)}}
----------------
Keenuts wrote:
Seems like because I use one more ID, the remaining space gets smaller.
If you look at this file history, each new address space added decreased this by 1.
https://github.com/llvm/llvm-project/pull/116393
More information about the cfe-commits
mailing list