[clang] [AArch64] add some more tests for FMV (PR #91490)
Vladimir Vereschaka via cfe-commits
cfe-commits at lists.llvm.org
Thu May 9 15:38:22 PDT 2024
vvereschaka wrote:
@tmatheson-arm , the `Clang::aarch64-fmv.c` gets failed on Windows to Arm Linux cross builds with the following errors:
```
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Driver\aarch64-fmv.c:27:18: error: FMV-DISABLED: expected string not found in input
# | // FMV-DISABLED: "-target-feature" "-fmv"
# | ^
# | <stdin>:1:1: note: scanning from here
# | clang version 19.0.0git (https://github.com/llvm/llvm-project.git 639a740035b732e9bc0f43f3f95d1ce3acf82e1b)
# | ^
# | <stdin>:7:362: note: possible intended match here
# | "C:\\buildbot\\as-builder-2\\x-aarch64\\build\\bin\\clang.exe" "-cc1" "-triple" "aarch64" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "aarch64-fmv.c" "-mrelocation-model" "static" "-mframe-pointer=non-leaf" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\buildbot\\as-builder-2\\x-aarch64\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\buildbot\\as-builder-2\\x-aarch64\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\buildbot\\as-builder-2\\x-aarch64\\build\\lib\\clang\\19" "-isysroot" "c:/buildbot/fs/jetson-agx-ubuntu" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "aarch64-fmv.o" "-x" "c" "C:\\buildbot\\as-builder-2\\x-aarch64\\llvm-project\\clang\\test\\Driver\\aarch64-fmv.c"
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Driver\aarch64-fmv.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang version 19.0.0git (https://github.com/llvm/llvm-project.git 639a740035b732e9bc0f43f3f95d1ce3acf82e1b)
# | check:27'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | 2: Target: aarch64
# | check:27'0 ~~~~~~~~~~~~~~~~
# | 3: Thread model: posix
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~
# | 4: InstalledDir: C:\buildbot\as-builder-2\x-aarch64\build\bin
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: Build config: +assertions
# | check:27'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: (in-process)
# | check:27'0 ~~~~~~~~~~~~~~
# | 7: "C:\\buildbot\\as-builder-2\\x-aarch64\\build\\bin\\clang.exe" "-cc1" "-triple" "aarch64" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "aarch64-fmv.c" "-mrelocation-model" "static" "-mframe-pointer=non-leaf" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=C:\\buildbot\\as-builder-2\\x-aarch64\\build\\tools\\clang\\test\\Driver" "-fcoverage-compilation-dir=C:\\buildbot\\as-builder-2\\x-aarch64\\build\\tools\\clang\\test\\Driver" "-resource-dir" "C:\\buildbot\\as-builder-2\\x-aarch64\\build\\lib\\clang\\19" "-isysroot" "c:/buildbot/fs/jetson-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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:27'1 ? possible intended match
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
********************
```
https://lab.llvm.org/buildbot/#/builders/119/builds/18102
https://github.com/llvm/llvm-project/pull/91490
More information about the cfe-commits
mailing list