Skip to content

Assertion in IntegerType::get: `NumBits <= MAX_INT_BITS && "bitwidth too large"' #121784

@ym-xie

Description

@ym-xie

code:

typedef float __m128 __attribute__((__vector_size__(1 << 28), __may_alias__));
extern __m128 _mm_sub_ps(__m128 __A, __m128 __B);
extern __m128 _mm_mul_ps(__m128 __A, __m128 __B);
__m128 vq_nbest(const __m128 *codebook, __m128 d, __m128 in) {
  return _mm_sub_ps(d, _mm_mul_ps(in, *codebook++));
}

command:

timeout 30 clang -x c -std=c2x -c file.c -o /dev/null

clang version 19.1.6. The above code causes hang.

Metadata

Metadata

Assignees

Labels

confirmedVerified by a second partyllvm:SelectionDAGSelectionDAGISel as wellwontfixIssue is real, but we can't or won't fix it. Not invalid

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions