annotate test/CodeGen/ARM/pr32545.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 ; RUN: llc %s -o - | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4 target triple = "armv7--linux-gnueabi"
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 ; CHECK: vld1.16 {[[DREG:d[0-9]+]][0]}, {{.*}}
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 ; CHECK: vmovl.u8 [[QREG:q[0-9]+]], [[DREG]]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 ; CHECK: vmovl.u16 [[QREG]], [[DREG]]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 define void @f(i32 %dstStride, i8* %indvars.iv, <2 x i8>* %zz) {
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 entry:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12 br label %for.body
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 for.body:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 %tmp = load <2 x i8>, <2 x i8>* %zz, align 1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 %tmp1 = extractelement <2 x i8> %tmp, i32 0
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 %.lhs.rhs = zext i8 %tmp1 to i32
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 call void @g(i32 %.lhs.rhs)
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 br label %for.body
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20 }
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22 declare void @g(i32)