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

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

<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 :: Preprocessor/predefined-arch-macros.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i386 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I386_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i386 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I386_M32
RUN: at line 11: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i386 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I386_M64
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i386 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I386_M64
RUN: at line 16: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i486 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I486_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i486 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I486_M32
RUN: at line 25: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i486 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I486_M64
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i486 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I486_M64
RUN: at line 30: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i586 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I586_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i586 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I586_M32
RUN: at line 42: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i586 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I586_M64
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=i586 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_I586_M64
RUN: at line 47: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_M32
RUN: at line 59: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_M64
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_M64
RUN: at line 64: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium-mmx -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_MMX_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium-mmx -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_MMX_M32
RUN: at line 79: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium-mmx -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_MMX_M64
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=pentium-mmx -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_PENTIUM_MMX_M64
RUN: at line 84: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip-c6 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP_C6_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip-c6 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP_C6_M32
RUN: at line 94: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip-c6 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP_C6_M64
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip-c6 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP_C6_M64
RUN: at line 99: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip2 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP2_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip2 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP2_M32
RUN: at line 109: not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip2 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP2_M64
+ not /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=winchip2 -m64 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_WINCHIP2_M64
RUN: at line 114: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=c3 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - 2>&1      -target i386-unknown-linux    | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_C3_M32
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -march=c3 -m32 -E -dM /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -o - -target i386-unknown-linux
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck -match-full-lines /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Preprocessor/predefined-arch-macros.c -check-prefix=CHECK_C3_M32
...

```

</details>

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


More information about the cfe-commits mailing list