• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s | FileCheck %s
2target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
3target triple = "thumbv7-arm-none-eabi"
4
5; CHECK-LABEL: f:
6; CHECK: vld1.64 {{.*}}, [r1:128]
7; CHECK: .p2align 4
8define void @f(<4 x i32>* %p) {
9  store <4 x i32> <i32 -1, i32 0, i32 0, i32 -1>, <4 x i32>* %p, align 4
10  ret void
11}
12
13; CHECK-LABEL: f_optsize:
14; CHECK: vld1.64 {{.*}}, [r1]
15; CHECK: .p2align 3
16define void @f_optsize(<4 x i32>* %p) optsize {
17  store <4 x i32> <i32 -1, i32 0, i32 0, i32 -1>, <4 x i32>* %p, align 4
18  ret void
19}
20
21; CHECK-LABEL: f_pgso:
22; CHECK: vld1.64 {{.*}}, [r1]
23; CHECK: .p2align 3
24define void @f_pgso(<4 x i32>* %p) !prof !14 {
25  store <4 x i32> <i32 -1, i32 0, i32 0, i32 -1>, <4 x i32>* %p, align 4
26  ret void
27}
28
29!llvm.module.flags = !{!0}
30!0 = !{i32 1, !"ProfileSummary", !1}
31!1 = !{!2, !3, !4, !5, !6, !7, !8, !9}
32!2 = !{!"ProfileFormat", !"InstrProf"}
33!3 = !{!"TotalCount", i64 10000}
34!4 = !{!"MaxCount", i64 10}
35!5 = !{!"MaxInternalCount", i64 1}
36!6 = !{!"MaxFunctionCount", i64 1000}
37!7 = !{!"NumCounts", i64 3}
38!8 = !{!"NumFunctions", i64 3}
39!9 = !{!"DetailedSummary", !10}
40!10 = !{!11, !12, !13}
41!11 = !{i32 10000, i64 100, i32 1}
42!12 = !{i32 999000, i64 100, i32 1}
43!13 = !{i32 999999, i64 1, i32 2}
44!14 = !{!"function_entry_count", i64 0}
45