[clang] [llvm] [AArch64] Add intrinsic support for Fdot instr. (PR #189987)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 23 08:52:58 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 173151 tests passed
* 3228 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGen/AArch64/f16f32dot-intrinsics.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/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/23/include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +neon -target-feature +f16f32dot -disable-O0-optnone -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/f16f32dot-intrinsics.c | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa,instcombine | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/f16f32dot-intrinsics.c
# 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/23/include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +neon -target-feature +f16f32dot -disable-O0-optnone -emit-llvm -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/f16f32dot-intrinsics.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/f16f32dot-intrinsics.c:75:10: error: argument value 3 is outside the valid range [0, 1]
# | 75 | return vdot_laneq_f32(r, a, b, 3);
# | | ^ ~
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include/arm_neon.h:41258:43: note: expanded from macro 'vdot_laneq_f32'
# | 41258 | __ret = __builtin_bit_cast(float32x2_t, __builtin_neon_vdot_laneq_f32(__builtin_bit_cast(int8x8_t, __s0), __builtin_bit_cast(int8x8_t, __s1), __builtin_bit_cast(int8x16_t, __s2), __p3, 9)); \
# | | ^ ~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=mem2reg,sroa,instcombine
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/f16f32dot-intrinsics.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/f16f32dot-intrinsics.c:10:17: error: CHECK-LABEL: expected string not found in input
# | // CHECK-LABEL: define dso_local <2 x float> @test_vdot_f32(
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:2:5: note: possible intended match here
# | source_filename = "<stdin>"
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGen/AArch64/f16f32dot-intrinsics.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = '<stdin>'
# | label:10'0 X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: source_filename = "<stdin>"
# | label:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:10'1 ? possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.Sema/aarch64-neon-immediate-ranges/dotprod.c</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/23/include -nostdsysteminc -triple aarch64-linux-gnu -target-feature +neon -target-feature +v8.2a -target-feature +dotprod -target-feature +f16f32dot -ffreestanding -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c
# 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/23/include -nostdsysteminc -triple aarch64-linux-gnu -target-feature +neon -target-feature +v8.2a -target-feature +dotprod -target-feature +f16f32dot -ffreestanding -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c Line 58 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c:59): argument value -1 is outside the valid range [0, 3]
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c Line 60 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c:61): argument value 4 is outside the valid range [0, 3]
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c Line 63 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c:64): argument value -1 is outside the valid range [0, 1]
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c Line 65 (directive at /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/aarch64-neon-immediate-ranges/dotprod.c:66): argument value 2 is outside the valid range [0, 1]
# | error: 'expected-error' diagnostics seen but not expected:
# | Line 58: argument value -1 is outside the valid range [0, 1]
# | Line 60: argument value 4 is outside the valid range [0, 1]
# | Line 63: argument value -1 is outside the valid range [0, 3]
# | 7 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/189987
More information about the cfe-commits
mailing list