Skip to content

Wrong result for _BitInt bitwise & testcase #114360

@mikaelholmen

Description

@mikaelholmen

llvm commit: 6effab9
Reproducer:

clang bbi-100697.c -O2 -std=c23
./a.out

Result:

Fail!

This starts happening with 1833d41
Before that commit we got

Pass!

which is the expected result.

I originally reported this in #107461 (comment) but @alexey-bataev did some analysis in #107461 (comment) 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

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions