• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=arm-eabi -mattr=+neon < %s -o - | FileCheck %s
2
3@c = global [4 x i32] [i32 3, i32 3, i32 3, i32 3], align 4
4@d = common global i32 0, align 4
5
6define void @foo() local_unnamed_addr nounwind norecurse {
7entry:
8  %0 = load <4 x i32>, <4 x i32>* bitcast ([4 x i32]* @c to <4 x i32>*), align 4
9  %1 = and <4 x i32> %0,
10           <i32 1,
11            i32 zext (i1 icmp ne (i32* getelementptr inbounds ([4 x i32], [4 x i32]* @c, i32 0, i32 1), i32* @d) to i32),
12            i32 zext (i1 icmp ne (i32* getelementptr inbounds ([4 x i32], [4 x i32]* @c, i32 0, i32 2), i32* @d) to i32),
13            i32 zext (i1 icmp ne (i32* getelementptr inbounds ([4 x i32], [4 x i32]* @c, i32 0, i32 3), i32* @d) to i32)>
14  store <4 x i32> %1, <4 x i32>* bitcast ([4 x i32]* @c to <4 x i32>*), align 4
15  ret void
16; CHECK-NOT: mvnne
17; CHECK: movne r{{[0-9]+}}, #1
18; CHECK-NOT: mvnne
19; CHECK: movne r{{[0-9]+}}, #1
20; CHECK-NOT: mvnne
21; CHECK: movne r{{[0-9]+}}, #1
22; CHECK-NOT: mvnne
23}
24