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
This commit is contained in:
Hubert Tong 2018-01-09 20:09:23 +00:00
parent 07ecf146a7
commit 23ee52593c
6 changed files with 6 additions and 6 deletions

View File

@ -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 <stdlib.h>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.