Issue 121923
Summary LLVM ERROR: out of memory
Labels new issue
Assignees
Reporter wxie7
    ```code
typedef float __attribute__((vector_size(-4))) A;
void foo(A *x) { *x = *x; }
```
https://godbolt.org/z/9K9KoMozn

```code
typedef float __attribute__((vector_size(-4))) A;
void foo(A *x) { *x = *x - 0; }
```
https://godbolt.org/z/b5ezn5Pde

The first code will not cause `LLVM ERROR: out of memory`, but will also crash clang.

Generated by fuzz.


_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to