[PATCH] D54449: [compiler-rt][builtins][PowerPC] Enable builtins tests on PowerPC 64 bit LE

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 07:56:11 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL349634: [compiler-rt][builtins][PowerPC] Enable builtins tests on PowerPC 64 bit LE (authored by amyk, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D54449?vs=173703&id=178889#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D54449

Files:
  compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c
  compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c
  compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c
  compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c
  compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c
  compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c
  compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c


Index: compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c
@@ -1,5 +1,5 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_builtins %s -o %t && %run %t
+// REQUIRES: target-is-powerpc64le
+// RUN: %clang_builtins %s %librt -o %t && %run %t
 #include <stdio.h>
 #include "DD.h"
 
Index: compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c
+++ compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c
@@ -1,7 +1,8 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_builtins %s -o %t && %run %t
+// REQUIRES: target-is-powerpc64le
+// RUN: %clang_builtins %s %librt -o %t && %run %t
 #include <stdint.h>
 #include <stdio.h>
+#include "int_lib.h"
 
 COMPILER_RT_ABI long double __floatunditf(uint64_t);
 
Index: compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c
@@ -1,5 +1,5 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_builtins %s -o %t && %run %t
+// REQUIRES: target-is-powerpc64le
+// RUN: %clang_builtins %s %librt -o %t && %run %t
 #include <stdio.h>
 #include "DD.h"
 
Index: compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c
+++ compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c
@@ -1,5 +1,5 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_builtins %s -o %t && %run %t
+// REQUIRES: target-is-powerpc64le
+// RUN: %clang_builtins %s %librt -o %t && %run %t
 #include <stdio.h>
 #include <limits.h>
 #include <stdint.h>
@@ -476,4 +476,4 @@
 	}
 	
 	return 0;
-}
\ No newline at end of file
+}
Index: compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c
+++ compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c
@@ -1,7 +1,8 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_builtins %s -o %t && %run %t
+// REQUIRES: target-is-powerpc64le
+// RUN: %clang_builtins %s %librt -o %t && %run %t
 #include <stdint.h>
 #include <stdio.h>
+#include "int_lib.h"
 
 COMPILER_RT_ABI long double __floatditf(int64_t);
 
Index: compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c
@@ -1,5 +1,5 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_builtins %s -o %t && %run %t
+// REQUIRES: target-is-powerpc64le
+// RUN: %clang_builtins %s %librt -o %t && %run %t
 #include <stdio.h>
 #include "DD.h"
 
Index: compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c
@@ -1,5 +1,5 @@
-// REQUIRES: powerpc-registered-target
-// RUN: %clang_builtins %s -o %t && %run %t
+// REQUIRES: target-is-powerpc64le
+// RUN: %clang_builtins %s %librt -o %t && %run %t
 #include <stdio.h>
 #include "DD.h"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54449.178889.patch
Type: text/x-patch
Size: 3592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/d41265e9/attachment.bin>


More information about the llvm-commits mailing list