diff options
author | Nirav Dave <niravd@google.com> | 2017-11-27 15:28:15 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2017-11-27 15:28:15 +0000 |
commit | dbbb6c5fc3642987430866dffdf710df4f616ac7 (patch) | |
tree | c747d6106fb07ea836450e9ebfdcdb8491307b83 /test/CodeGen/BPF | |
parent | 0782e893a9946ee3012d3d1a5ad9eaf12ea07db1 (diff) |
[DAG] Do MergeConsecutiveStores again before Instruction Selection
Summary:
Now that store-merge is only generates type-safe stores, do a second
pass just before instruction selection to allow lowered intrinsics to
be merged as well.
Reviewers: jyknight, hfinkel, RKSimon, efriedma, rnk, jmolloy
Subscribers: javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D33675
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/BPF')
-rw-r--r-- | test/CodeGen/BPF/undef.ll | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/test/CodeGen/BPF/undef.ll b/test/CodeGen/BPF/undef.ll index 11bc9ebd254..586a24d1816 100644 --- a/test/CodeGen/BPF/undef.ll +++ b/test/CodeGen/BPF/undef.ll @@ -14,12 +14,10 @@ ; Function Attrs: nounwind uwtable define i32 @ebpf_filter(%struct.__sk_buff* nocapture readnone %ebpf_packet) #0 section "socket1" { -; EL: r1 = 134678021 -; EB: r1 = 84281096 -; CHECK: *(u32 *)(r10 - 8) = r1 -; EL: r1 = 2569 -; EB: r1 = 2314 -; CHECK: *(u16 *)(r10 - 4) = r1 + +; EL: r1 = 11033905661445 ll +; EB: r1 = 361984551142686720 ll +; CHECK: *(u64 *)(r10 - 8) = r1 ; CHECK: r1 = 0 ; CHECK: *(u16 *)(r10 + 24) = r1 @@ -35,7 +33,6 @@ define i32 @ebpf_filter(%struct.__sk_buff* nocapture readnone %ebpf_packet) #0 s ; CHECK: *(u16 *)(r10 + 4) = r1 ; CHECK: *(u16 *)(r10 + 2) = r1 ; CHECK: *(u16 *)(r10 + 0) = r1 -; CHECK: *(u16 *)(r10 - 2) = r1 ; CHECK: *(u16 *)(r10 + 26) = r1 ; CHECK: r2 = r10 |