[PATCH] D62121: [PowerPC] [Clang] Port SSE intrinsics to PowerPC

Jinsong Ji via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 29 06:47:16 PDT 2019


jsji requested changes to this revision.
jsji added a comment.
This revision now requires changes to proceed.

  ******************** TEST 'Clang :: CodeGen/ppc-mm-malloc.c' FAILED ********************
  Script:
  --
  : 'RUN: at line 9';   /home/buildslave/buildslave1a/clang-with-lto-ubuntu/build/stage1/bin/clang -S -emit-llvm /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/CodeGen/ppc-mm-malloc.c -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | /home/buildslave/buildslave1a/clang-with-lto-ubuntu/build/stage1/bin/FileCheck /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/CodeGen/ppc-mm-malloc.c
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/CodeGen/ppc-mm-malloc.c:21:11: error: CHECK: expected string not found in input
  // CHECK: define internal i8* @_mm_malloc(i64 [[REG1:[0-9a-zA-Z_%.]+]], i64 [[REG2:[0-9a-zA-Z_%.]+]])
            ^
  <stdin>:7:38: note: scanning from here
  define dso_local void @test_mm_malloc() #0 {
                                       ^
  <stdin>:18:1: note: possible intended match here
  define internal noalias i8* @_mm_malloc(i64 %__size, i64 %__align) #1 {
  ^
  
  --
  
  ********************
  Testing: 0 .. 10..
  FAIL: Clang :: Headers/ppc-sse-intrinsics.c (9324 of 48401)
  ******************** TEST 'Clang :: Headers/ppc-sse-intrinsics.c' FAILED ********************
  Script:
  --
  : 'RUN: at line 10';   /home/buildslave/buildslave1a/clang-with-lto-ubuntu/build/stage1/bin/clang -S -emit-llvm -DNO_WARN_X86_INTRINSICS /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/Headers/ppc-sse-intrinsics.c -mcpu=pwr7 -Xclang -verify
  : 'RUN: at line 11';   /home/buildslave/buildslave1a/clang-with-lto-ubuntu/build/stage1/bin/clang -S -emit-llvm -DNO_WARN_X86_INTRINSICS /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/Headers/ppc-sse-intrinsics.c -mcpu=pwr7 -Xclang -verify -x c++
  : 'RUN: at line 14';   not /home/buildslave/buildslave1a/clang-with-lto-ubuntu/build/stage1/bin/clang -S -emit-llvm /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/Headers/ppc-sse-intrinsics.c -mcpu=pwr7 -o /dev/null 2>&1 | /home/buildslave/buildslave1a/clang-with-lto-ubuntu/build/stage1/bin/FileCheck /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/Headers/ppc-sse-intrinsics.c -check-prefix=SSE-ERROR
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  clang-9: warning: argument unused during compilation: '-mcpu=pwr7' [-Wunused-command-line-argument]
  clang-9: warning: argument unused during compilation: '-mcpu=pwr7' [-Wunused-command-line-argument]
  /home/buildslave/buildslave1a/clang-with-lto-ubuntu/llvm.src/tools/clang/test/Headers/ppc-sse-intrinsics.c:20:15: error: SSE-ERROR: expected string not found in input
  // SSE-ERROR: xmmintrin.h:{{[0-9]+}}:{{[0-9]+}}: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
                ^
  <stdin>:1:1: note: scanning from here
  clang-9: warning: argument unused during compilation: '-mcpu=pwr7' [-Wunused-command-line-argument]
  ^


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62121/new/

https://reviews.llvm.org/D62121





More information about the cfe-commits mailing list