diff options
| author | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-05-01 15:36:18 +0000 |
|---|---|---|
| committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-05-01 15:36:18 +0000 |
| commit | 02d055a269823ebb4b00119db0c4d656cc3f8894 (patch) | |
| tree | 7f26b39becba3c98156d816645f22eefea5abf06 /llvm/test/MC | |
| parent | 9caa6b5b648535467c6248d3aeaa40fbbe84e0a3 (diff) | |
| download | bcm5719-llvm-02d055a269823ebb4b00119db0c4d656cc3f8894.tar.gz bcm5719-llvm-02d055a269823ebb4b00119db0c4d656cc3f8894.zip | |
[tests] Add host-byteorder-*-endian; update XFAILs of big-endian triples
Summary:
Triple components in `XFAIL` lines are tested against the target triple.
Various tests that are expected to fail on big-endian hosts are marked
as being `XFAIL` for big-endian targets. This patch corrects these tests
by having them test against a new `host-byteorder-big-endian` feature.
Reviewers: xingxue, sfertile, jasonliu
Reviewed By: xingxue
Subscribers: jvesely, nhaehnle, fedor.sergeev, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60551
llvm-svn: 359689
Diffstat (limited to 'llvm/test/MC')
| -rw-r--r-- | llvm/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.s | 2 | ||||
| -rw-r--r-- | llvm/test/MC/AMDGPU/hsa-v3.s | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.s b/llvm/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.s index c26a2f87181..644d957d59e 100644 --- a/llvm/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.s +++ b/llvm/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.s @@ -2,7 +2,7 @@ // RUN: llvm-objdump -s -j .rodata %t | FileCheck --check-prefix=OBJDUMP %s // big endian not supported -// XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc +// XFAIL: host-byteorder-big-endian // Check that SGPR init bug on gfx803 is corrected by the assembler, setting // GRANULATED_WAVEFRONT_SGPR_COUNT to 11. diff --git a/llvm/test/MC/AMDGPU/hsa-v3.s b/llvm/test/MC/AMDGPU/hsa-v3.s index 1eb8f5edd9d..142774b61cd 100644 --- a/llvm/test/MC/AMDGPU/hsa-v3.s +++ b/llvm/test/MC/AMDGPU/hsa-v3.s @@ -4,7 +4,7 @@ // RUN: llvm-objdump -s -j .rodata %t | FileCheck --check-prefix=OBJDUMP %s // big endian not supported -// XFAIL: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc +// XFAIL: host-byteorder-big-endian // READOBJ: Section Headers // READOBJ: .text PROGBITS {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9]+}} AX {{[0-9]+}} {{[0-9]+}} 256 |

