[clang] [RISCV] Verify vfwmaccbf16 and vfncvtbf16 FRM argument in SemaRISCV::CheckBuiltinFunctionCall. (PR #155710)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 28 22:47:30 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang` at step 4 "clean-build-dir".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/22501
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (clean-build-dir) failure: Delete failed. (failure)
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\22\include -nostdsysteminc -triple riscv64 -target-feature +f -target-feature +d -target-feature +v -target-feature +zvfbfmin -fsyntax-only -verify Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 -internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\22\include' -nostdsysteminc -triple riscv64 -target-feature +f -target-feature +d -target-feature +v -target-feature +zvfbfmin -fsyntax-only -verify 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c'
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c Line 10 (directive at Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c:9): argument value 5 is outside the valid range [0, 4]
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c Line 15 (directive at Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c:14): argument value 5 is outside the valid range [0, 4]
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c Line 20 (directive at Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c:19): argument value 5 is outside the valid range [0, 4]
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c Line 25 (directive at Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c:24): argument value 5 is outside the valid range [0, 4]
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c Line 30 (directive at Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c:29): argument value 5 is outside the valid range [0, 4]
# | error: 'expected-error' diagnostics seen but not expected:
# | File Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-handcrafted\vfncvtbf16-out-of-range.c Line 6: 'riscv_vector.h' file not found
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/155710
More information about the cfe-commits
mailing list