[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:48:15 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang` at step 6 "Add check check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/29768
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/22/include -nostdsysteminc -triple riscv64 -target-feature +f -target-feature +d -target-feature +v -target-feature +zvfbfmin -fsyntax-only -verify /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c # RUN: at line 2
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/22/include -nostdsysteminc -triple riscv64 -target-feature +f -target-feature +d -target-feature +v -target-feature +zvfbfmin -fsyntax-only -verify /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c
error: 'expected-error' diagnostics expected but not seen:
File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c Line 10 (directive at /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c:9): argument value 5 is outside the valid range [0, 4]
File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c Line 15 (directive at /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c:14): argument value 5 is outside the valid range [0, 4]
File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c Line 20 (directive at /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c:19): argument value 5 is outside the valid range [0, 4]
File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c Line 25 (directive at /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c:24): argument value 5 is outside the valid range [0, 4]
File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c Line 30 (directive at /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/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 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vfncvtbf16-out-of-range.c Line 6: 'riscv_vector.h' file not found
6 errors generated.
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/155710
More information about the cfe-commits
mailing list