Issue 114360
Summary Wrong result for _BitInt bitwise & testcase
Labels new issue
Assignees
Reporter mikaelholmen
    llvm commit: 6effab990c5c1b
Reproducer:
```
clang bbi-100697.c -O2 -std=c23
./a.out
```
Result:
```
Fail!
```
This starts happening with https://github.com/llvm/llvm-project/commit/1833d418a04123916c1dbeb0c41c8bc7d06b779b
Before that commit we got
```
Pass!
```
which is the expected result.

I originally reported this in https://github.com/llvm/llvm-project/pull/107461#issuecomment-2446969736 but @alexey-bataev did some analysis in https://github.com/llvm/llvm-project/pull/107461#issuecomment-2448053507 suggesting that the error is somewhere in X86 Codegen rather than in SLP vectorizer.

As I wrote in the original report the input was originally part of a much larger test so I've reduced it a lot but unfortunately it's still quite large (and ugly).

[bbi-100697.c.gz](https://github.com/user-attachments/files/17582314/bbi-100697.c.gz)

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to