[clang] [compiler-rt] [llvm] [X86] Support -march=diamondrapids (PR #113881)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 17 16:59:36 PST 2024


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,compiler-rt,llvm` at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/8042

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Preprocessor/predefined-arch-macros.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=i386 -m32 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_I386_M32
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=i386 -m32 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_I386_M32
# RUN: at line 11
not z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=i386 -m64 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_I386_M64
# executed command: not 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=i386 -m64 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_I386_M64
# RUN: at line 16
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=i486 -m32 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_I486_M32
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=i486 -m32 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_I486_M32
# RUN: at line 25
not z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=i486 -m64 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_I486_M64
# executed command: not 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=i486 -m64 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_I486_M64
# RUN: at line 30
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=i586 -m32 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_I586_M32
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=i586 -m32 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_I586_M32
# RUN: at line 42
not z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=i586 -m64 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_I586_M64
# executed command: not 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=i586 -m64 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_I586_M64
# RUN: at line 47
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=pentium -m32 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_M32
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=pentium -m32 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_PENTIUM_M32
# RUN: at line 59
not z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=pentium -m64 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_M64
# executed command: not 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=pentium -m64 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_PENTIUM_M64
# RUN: at line 64
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=pentium-mmx -m32 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_MMX_M32
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=pentium-mmx -m32 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_PENTIUM_MMX_M32
# RUN: at line 79
not z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=pentium-mmx -m64 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_MMX_M64
# executed command: not 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=pentium-mmx -m64 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_PENTIUM_MMX_M64
# RUN: at line 84
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -march=winchip-c6 -m32 -E -dM Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe -match-full-lines Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c -check-prefix=CHECK_WINCHIP_C6_M32
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -march=winchip-c6 -m32 -E -dM 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -o - -target i386-unknown-linux
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' -match-full-lines 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\predefined-arch-macros.c' -check-prefix=CHECK_WINCHIP_C6_M32
# RUN: at line 94
...

```

</details>

https://github.com/llvm/llvm-project/pull/113881


More information about the cfe-commits mailing list