Skip to content

Commit

Permalink
Profiling tests: Endianess XFAIL for powerpc- (32-bit)
Browse files Browse the repository at this point in the history
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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322114 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
hubert-reinterpretcast committed Jan 9, 2018
1 parent 63b6c9b commit a6cca0e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/Transforms/SampleProfile/gcc-simple.ll
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
2 changes: 1 addition & 1 deletion test/tools/llvm-cov/copy_block_helper.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/tools/llvm-cov/gcov47_compatibility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/tools/llvm-cov/llvm-cov.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/tools/llvm-cov/range_based_for.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/tools/llvm-profdata/gcc-gcov-sample-profile.test
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit a6cca0e

Please sign in to comment.