summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/BPF/loops.ll
diff options
context:
space:
mode:
authorAlexei Starovoitov <alexei.starovoitov@gmail.com>2015-06-04 19:15:05 +0000
committerAlexei Starovoitov <alexei.starovoitov@gmail.com>2015-06-04 19:15:05 +0000
commit310deada107208511c1199d0580b9e3cdfbb45ca (patch)
tree0935bc73294e4addf7f01991c0db460bb3055293 /llvm/test/CodeGen/BPF/loops.ll
parent9ac8a6b13d998968226fdefb58ebd37eb3620ceb (diff)
downloadbcm5719-llvm-310deada107208511c1199d0580b9e3cdfbb45ca.tar.gz
bcm5719-llvm-310deada107208511c1199d0580b9e3cdfbb45ca.zip
[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 llvm-svn: 239071
Diffstat (limited to 'llvm/test/CodeGen/BPF/loops.ll')
-rw-r--r--llvm/test/CodeGen/BPF/loops.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/BPF/loops.ll b/llvm/test/CodeGen/BPF/loops.ll
index 4798d78842c..7a4d5dbcb34 100644
--- a/llvm/test/CodeGen/BPF/loops.ll
+++ b/llvm/test/CodeGen/BPF/loops.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=bpf | FileCheck %s
+; RUN: llc < %s -march=bpf_le | FileCheck %s
define zeroext i16 @add(i16* nocapture %a, i16 zeroext %n) nounwind readonly {
entry:
OpenPOWER on IntegriCloud