From 23ee52593c72c0ddbe1d38f7f9724e7cf93b29e1 Mon Sep 17 00:00:00 2001 From: Hubert Tong Date: Tue, 9 Jan 2018 20:09:23 +0000 Subject: [PATCH] Profiling tests: Endianess XFAIL for powerpc- (32-bit) Add powerpc- (32-bit) as XFAIL for tests that are documented either in- line or via commit messages as expected to fail on big-endian systems. Tests not documented in-line are documented in commit messages as follows: r211172 - test/tools/llvm-cov/llvm-cov.test r247920 - test/Transforms/SampleProfile/gcc-simple.ll llvm-svn: 322114 --- test/Transforms/SampleProfile/gcc-simple.ll | 2 +- test/tools/llvm-cov/copy_block_helper.m | 2 +- test/tools/llvm-cov/gcov47_compatibility.cpp | 2 +- test/tools/llvm-cov/llvm-cov.test | 2 +- test/tools/llvm-cov/range_based_for.cpp | 2 +- test/tools/llvm-profdata/gcc-gcov-sample-profile.test | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Transforms/SampleProfile/gcc-simple.ll b/test/Transforms/SampleProfile/gcc-simple.ll index cbd105ebc3b..fb40af4d9fd 100644 --- a/test/Transforms/SampleProfile/gcc-simple.ll +++ b/test/Transforms/SampleProfile/gcc-simple.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/gcc-simple.afdo -S | FileCheck %s ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/gcc-simple.afdo -S | FileCheck %s -; XFAIL: powerpc64-, s390x, mips-, mips64-, sparc +; XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc ; Original code: ; ; #include diff --git a/test/tools/llvm-cov/copy_block_helper.m b/test/tools/llvm-cov/copy_block_helper.m index d8202d085b2..b0cf7ffd227 100644 --- a/test/tools/llvm-cov/copy_block_helper.m +++ b/test/tools/llvm-cov/copy_block_helper.m @@ -29,4 +29,4 @@ void test(id x) { // GCOV: -: [[@LINE]]:void test int main(int argc, const char *argv[]) { test(0); } // llvm-cov doesn't work on big endian yet -// XFAIL: powerpc64-, s390x, mips-, mips64-, sparc +// XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc diff --git a/test/tools/llvm-cov/gcov47_compatibility.cpp b/test/tools/llvm-cov/gcov47_compatibility.cpp index 02f8d787fc3..c4302e787db 100644 --- a/test/tools/llvm-cov/gcov47_compatibility.cpp +++ b/test/tools/llvm-cov/gcov47_compatibility.cpp @@ -27,4 +27,4 @@ int main(int argc, const char *argv[]) { // GCOV: -: [[@LINE]]:int main( } // GCOV: -: [[@LINE]]:} // llvm-cov doesn't work on big endian yet -// XFAIL: powerpc64-, s390x, mips-, mips64-, sparc +// XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc diff --git a/test/tools/llvm-cov/llvm-cov.test b/test/tools/llvm-cov/llvm-cov.test index ba5e18a9106..d460f37da2a 100644 --- a/test/tools/llvm-cov/llvm-cov.test +++ b/test/tools/llvm-cov/llvm-cov.test @@ -115,4 +115,4 @@ RUN: llvm-cov gcov test.c -gcda=test_func_checksum_fail.gcda RUN: llvm-cov gcov test_exit_block_arcs.c 2>&1 | FileCheck %s -check-prefix=EXIT_BLOCK_ARCS EXIT_BLOCK_ARCS: (main) has arcs from exit block. -XFAIL: powerpc64-, s390x, mips-, mips64-, sparc +XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc diff --git a/test/tools/llvm-cov/range_based_for.cpp b/test/tools/llvm-cov/range_based_for.cpp index 6f7a11ad634..2934650627e 100644 --- a/test/tools/llvm-cov/range_based_for.cpp +++ b/test/tools/llvm-cov/range_based_for.cpp @@ -26,4 +26,4 @@ int main(int argc, const char *argv[]) { // GCOV: 1: [[@LINE]]:int main( } // GCOV: -: [[@LINE]]:} // llvm-cov doesn't work on big endian yet -// XFAIL: powerpc64-, s390x, mips-, mips64-, sparc +// XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc diff --git a/test/tools/llvm-profdata/gcc-gcov-sample-profile.test b/test/tools/llvm-profdata/gcc-gcov-sample-profile.test index dbcc74e1284..087c8a7b893 100644 --- a/test/tools/llvm-profdata/gcc-gcov-sample-profile.test +++ b/test/tools/llvm-profdata/gcc-gcov-sample-profile.test @@ -1,7 +1,7 @@ The input gcov file has been generated on a little endian machine. Expect failures on big endian systems. -XFAIL: powerpc64-, s390x, mips-, mips64-, sparc +XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc Tests for sample profiles encoded in GCC's gcov format.