diff options
author | Alexei Starovoitov <alexei.starovoitov@gmail.com> | 2015-06-04 19:15:05 +0000 |
---|---|---|
committer | Alexei Starovoitov <alexei.starovoitov@gmail.com> | 2015-06-04 19:15:05 +0000 |
commit | ac73683b107e9dc9c5a5de70d625653d0e1c19b9 (patch) | |
tree | f8f603efb5bf5241515745e8b0a9146e4f5072cd /test/CodeGen/BPF/setcc.ll | |
parent | c07ee0c4ff45f4a5661cce9ed8e3e799a30bd952 (diff) |
[bpf] add big- and host- endian support
Summary:
-march=bpf -> host endian
-march=bpf_le -> little endian
-match=bpf_be -> big endian
Test Plan:
v1 was tested by IBM s390 guys and appears to be working there.
It bit rots too fast here.
Reviewers: chandlerc, tstellarAMD
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10177
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/BPF/setcc.ll')
-rw-r--r-- | test/CodeGen/BPF/setcc.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/BPF/setcc.ll b/test/CodeGen/BPF/setcc.ll index eabb6c9bf2d..6198197d244 100644 --- a/test/CodeGen/BPF/setcc.ll +++ b/test/CodeGen/BPF/setcc.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpf < %s | FileCheck %s +; RUN: llc -march=bpf_le < %s | FileCheck %s define i16 @sccweqand(i16 %a, i16 %b) nounwind { %t1 = and i16 %a, %b |