[PATCH] D64796: [builtins][test] XFAIL two SPARC tests

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 06:27:19 PDT 2019


ro created this revision.
ro added reviewers: howard.hinnant, samsonov, jyknight.
Herald added subscribers: Sanitizers, fedor.sergeev.
Herald added projects: LLVM, Sanitizers.

Two SPARC builtins tests are currently FAILing due to codegen bugs:

  local-sparcv9/ninja-check-all.err3

  Builtins-sparc-sunos :: divtc3_test.c
  Builtins-sparcv9-sunos :: compiler_rt_logbl_test.c
  Builtins-sparcv9-sunos :: divtc3_test.c

  I'd like to XFAIL them to reduce testsuite noise. 
  
  Done as follows, tested on `sparcv9-sun-solaris2.11` and `x86_64-pc-solaris2.11`.
  Ok for trunk?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D64796

Files:
  test/builtins/Unit/compiler_rt_logbl_test.c
  test/builtins/Unit/divtc3_test.c


Index: test/builtins/Unit/divtc3_test.c
===================================================================
--- test/builtins/Unit/divtc3_test.c
+++ test/builtins/Unit/divtc3_test.c
@@ -1,4 +1,8 @@
 // RUN: %clang_builtins %s %librt -lm -o %t && %run %t
+//
+// 32-bit: Bug 42493, 64-bit: Bug 42496
+// XFAIL: sparc
+//
 //===-- divtc3_test.c - Test __divtc3 -------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Index: test/builtins/Unit/compiler_rt_logbl_test.c
===================================================================
--- test/builtins/Unit/compiler_rt_logbl_test.c
+++ test/builtins/Unit/compiler_rt_logbl_test.c
@@ -1,4 +1,8 @@
 // RUN: %clang_builtins %s %librt -o %t && %run %t
+//
+// Bug 42496
+// XFAIL: sparcv9-target-arch
+//
 //===-- compiler_rt_logbl_test.c - Test __compiler_rt_logbl ---------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64796.210083.patch
Type: text/x-patch
Size: 992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190716/4fcdbf5a/attachment.bin>


More information about the llvm-commits mailing list