summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2019-05-01 15:36:18 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2019-05-01 15:36:18 +0000
commit02d055a269823ebb4b00119db0c4d656cc3f8894 (patch)
tree7f26b39becba3c98156d816645f22eefea5abf06 /llvm/test/Transforms/SampleProfile
parent9caa6b5b648535467c6248d3aeaa40fbbe84e0a3 (diff)
downloadbcm5719-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/Transforms/SampleProfile')
-rw-r--r--llvm/test/Transforms/SampleProfile/gcc-simple.ll2
-rw-r--r--llvm/test/Transforms/SampleProfile/indirect-call-gcc.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/SampleProfile/gcc-simple.ll b/llvm/test/Transforms/SampleProfile/gcc-simple.ll
index 23e990fcd24..149b316db3e 100644
--- a/llvm/test/Transforms/SampleProfile/gcc-simple.ll
+++ b/llvm/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: powerpc-, powerpc64-, s390x, mips-, mips64-, sparc
+; XFAIL: host-byteorder-big-endian
; Original code:
;
; #include <stdlib.h>
diff --git a/llvm/test/Transforms/SampleProfile/indirect-call-gcc.ll b/llvm/test/Transforms/SampleProfile/indirect-call-gcc.ll
index 678c7931250..b1edb6bfe36 100644
--- a/llvm/test/Transforms/SampleProfile/indirect-call-gcc.ll
+++ b/llvm/test/Transforms/SampleProfile/indirect-call-gcc.ll
@@ -4,7 +4,7 @@
; format profile.
; It is expected to fail on certain architectures as gcc profile reader does
; not work.
-; XFAIL: powerpc64-, s390x, mips-, mips64-, sparc
+; XFAIL: host-byteorder-big-endian
define void @test(void ()*) !dbg !3 {
%2 = alloca void ()*
OpenPOWER on IntegriCloud