[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX512 VPMULTISHIFTQB intrinsics to be used in constexpr (PR #168995)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 20 20:20:11 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 84695 tests passed
* 1099 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Headers/ms-intrin.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -triple i386-pc-win32 -target-cpu pentium4 -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 -ffreestanding -fsyntax-only -Werror -Wsystem-headers -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/ms-intrin.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -triple i386-pc-win32 -target-cpu pentium4 -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 -ffreestanding -fsyntax-only -Werror -Wsystem-headers -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/ms-intrin.cpp
# .---command stderr------------
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/ms-intrin.cpp:37:
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/intrin.h:22:
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/x86intrin.h:15:
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/immintrin.h:89:
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/avx512vbmiintrin.h:23:9: error: '__DEFAULT_FN_ATTRS' macro redefined [-Werror,-Wmacro-redefined]
# | 23 | #define __DEFAULT_FN_ATTRS \
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/avx512vbmiintrin.h:18:9: note: previous definition is here
# | 18 | #define __DEFAULT_FN_ATTRS \
# | | ^
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Headers/no-xend.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -triple x86_64-pc-win32 -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 -ffreestanding -fsyntax-only -Werror -Wsystem-headers -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/no-xend.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -triple x86_64-pc-win32 -fms-extensions -fms-compatibility -fms-compatibility-version=17.00 -ffreestanding -fsyntax-only -Werror -Wsystem-headers -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/Inputs/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/no-xend.cpp
# .---command stderr------------
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/no-xend.cpp:6:
# | In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/immintrin.h:89:
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/avx512vbmiintrin.h:23:9: error: '__DEFAULT_FN_ATTRS' macro redefined [-Werror,-Wmacro-redefined]
# | 23 | #define __DEFAULT_FN_ATTRS \
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/avx512vbmiintrin.h:18:9: note: previous definition is here
# | 18 | #define __DEFAULT_FN_ATTRS \
# | | ^
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Headers/x86-intrinsics-headers-clean.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -ffreestanding -triple i386-unknown-unknown -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/x86-intrinsics-headers-clean.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include -nostdsysteminc -ffreestanding -triple i386-unknown-unknown -Wextra -Werror -Wsystem-headers -Wsign-conversion -Wcast-qual -Wdocumentation -Wdocumentation-pedantic -Wdocumentation-unknown-command -fsyntax-only -fretain-comments-from-system-headers -flax-vector-conversions=none -x c++ -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Headers/x86-intrinsics-headers-clean.cpp
# .---command stderr------------
# | error: 'expected-error' diagnostics seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/avx512vbmiintrin.h Line 23: '__DEFAULT_FN_ATTRS' macro redefined
# | error: 'expected-note' diagnostics seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/22/include/avx512vbmiintrin.h Line 18: previous definition is here
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/168995
More information about the cfe-commits
mailing list