https://github.com/Sirraide commented:
Can you add a C++ test case along the lines of
```c++
constexpr int __attribute__((vector_size(4))) test_vector = {1};
constexpr int get_last_element() {
return test_vector[~0UL];
}
static_assert(get_last_element() == 1);
```
to make sure we now diagnose this properly.
https://github.com/llvm/llvm-project/pull/172399
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits