[PATCH] D85119: [compiler-rt][builtins] Un-xfail two tests on sparcv9

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 3 04:15:49 PDT 2020


ro created this revision.
ro added reviewers: howard.hinnant, rupprecht, delcypher.
Herald added subscribers: Sanitizers, fedor.sergeev, dberris, jyknight.
Herald added a project: Sanitizers.
ro requested review of this revision.

Two tests currently `XPASS` on sparcv9:

  Unexpectedly Passed Tests (2):
    Builtins-sparcv9-sunos :: compiler_rt_logbl_test.c
    Builtins-sparcv9-sunos :: divtc3_test.c

The following patch fixes this.

Tested on `sparcv9-sun-solaris2.11`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85119

Files:
  compiler-rt/test/builtins/Unit/compiler_rt_logbl_test.c
  compiler-rt/test/builtins/Unit/divtc3_test.c


Index: compiler-rt/test/builtins/Unit/divtc3_test.c
===================================================================
--- compiler-rt/test/builtins/Unit/divtc3_test.c
+++ compiler-rt/test/builtins/Unit/divtc3_test.c
@@ -3,8 +3,8 @@
 // REQUIRES: c99-complex
 
 //
-// 32-bit: Bug 42493, 64-bit: Bug 42496
-// XFAIL: sparc
+// Bug 42493
+// XFAIL: sparc-target-arch
 //
 #include <stdio.h>
 
Index: compiler-rt/test/builtins/Unit/compiler_rt_logbl_test.c
===================================================================
--- compiler-rt/test/builtins/Unit/compiler_rt_logbl_test.c
+++ compiler-rt/test/builtins/Unit/compiler_rt_logbl_test.c
@@ -1,9 +1,5 @@
 // RUN: %clang_builtins %s %librt -o %t && %run %t
 
-//
-// Bug 42496
-// XFAIL: sparcv9-target-arch
-//
 #define QUAD_PRECISION
 #include <math.h>
 #include <stdio.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85119.282576.patch
Type: text/x-patch
Size: 830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200803/97e60f4d/attachment.bin>


More information about the llvm-commits mailing list