Skip to content

Conversation

oliverchang
Copy link
Collaborator

Reverts #13848

Unfortunately, this breaks the indexer for many projects that are still building on clang 18 with errors like:

Step #23: fatal error: too many errors emitted, stopping now [-ferror-limit=]
Step #23:       |                                         ^~~~~~~~~~~~
Step #23:   422 |     return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:422:41: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type '__v8qi' (vector of 8 'char' values)
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~~
Step #23:   422 |     return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:422:19: error: use of undeclared identifier '__builtin_ia32_paddsb'; did you mean '__builtin_ia32_kaddsi'?
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~
Step #23:   400 |     return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:400:19: error: use of undeclared identifier '__builtin_ia32_paddd'
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~
Step #23:   379 |     return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:379:19: error: use of undeclared identifier '__builtin_ia32_paddw'
Step #23:       |                   ^~~~~~~~~~~~~~~~~~~~
Step #23:   358 |     return (__m64)__builtin_ia32_paddb((__v8qi)__m1, (__v8qi)__m2);
Step #23: /usr/local/lib/clang/18/include/mmintrin.h:358:19: error: use of undeclared identifier '__builtin_ia32_paddb'

@oliverchang oliverchang merged commit 5aa445c into master Sep 1, 2025
17 of 18 checks passed
@oliverchang oliverchang deleted the revert-13848-bump-to-llvm21 branch September 1, 2025 05:49
oliverchang pushed a commit that referenced this pull request Sep 8, 2025
Follow up to #13901 and
#13848

This proposes a clean llvm upgrade, so without having different llvm
versions in base-clang and base-clang-full.

Continuing from issues in
#13848 (comment)

Signed-off-by: David Korczynski <david@adalogics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant