[clang] [RISCV][FMV] Support target_version (PR #99040)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 3 20:17:20 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/7052
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/attr-target-version-riscv-invalid.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple riscv64 -target-feature +i -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c 2>&1 | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c --check-prefix=CHECK-UNSUPPORT-OS
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple riscv64 -target-feature +i -emit-llvm -o - /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c --check-prefix=CHECK-UNSUPPORT-OS
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c:3:24: [0m[0;1;31merror: [0m[1mCHECK-UNSUPPORT-OS: expected string not found in input
[0m// CHECK-UNSUPPORT-OS: error: function multiversioning is currently only supported on Linux
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c:8:48: error: function multiversioning doesn't support feature '9'
[0;1;32m^
[0m[1m<stdin>:1:120: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c:8:48: error: function multiversioning doesn't support feature '9'
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGen/attr-target-version-riscv-invalid.c:8:48: error: function multiversioning doesn't support feature '9' [0m
[0;1;31mcheck:3'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
[0m[0;1;35mcheck:3'1 ? possible intended match
[0m[0;1;30m 2: [0m[1m[0;1;46m 8 | __attribute__((target_version("arch=+c"))) int foo(void) { [0m
[0;1;31mcheck:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46m | ^ [0m
[0;1;31mcheck:3'0 ~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46m1 error generated. [0m
[0;1;31mcheck:3'0 ~~~~~~~~~~~~~~~~~~~
[0m>>>>>>
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/99040
More information about the cfe-commits
mailing list