1; RUN: llc -mtriple armv7 %s -stop-before=livedebugvalues -o - | FileCheck %s
2
3define <4 x i8> @i(<4 x i8>*) !dbg !8 {
4  %2 = load <4 x i8>, <4 x i8>* %0, align 4, !dbg !14
5  ; CHECK: $[[reg:.*]] = VLD1LNd32 {{.*}} debug-location !14 :: (load 4 from %ir.0)
6  ; CHECK-NEXT: VMOVLuv8i16 {{.*}} $[[reg]], {{.*}} debug-location !14
7  ; CHECK-NEXT: VMOVLuv4i32 {{.*}} $[[reg]], {{.*}} debug-location !14
8
9  %3 = udiv <4 x i8> zeroinitializer, %2, !dbg !15
10  call void @llvm.dbg.value(metadata <4 x i8> %2, metadata !11, metadata !DIExpression()), !dbg !14
11  call void @llvm.dbg.value(metadata <4 x i8> %3, metadata !13, metadata !DIExpression()), !dbg !15
12  ret <4 x i8> %3, !dbg !16
13}
14
15declare void @llvm.dbg.value(metadata, metadata, metadata)
16
17!llvm.debugify = !{!0, !1, !2, !3}
18!llvm.module.flags = !{!4}
19!llvm.dbg.cu = !{!5}
20
21!0 = !{i32 24}
22!1 = !{i32 19}
23!2 = !{i32 3}
24!3 = !{i32 2}
25!4 = !{i32 2, !"Debug Info Version", i32 3}
26!5 = distinct !DICompileUnit(language: DW_LANG_C, file: !6, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !7)
27!6 = !DIFile(filename: "/Users/vsk/Desktop/test.ll", directory: "/")
28!7 = !{}
29!8 = distinct !DISubprogram(name: "i", linkageName: "i", scope: null, file: !6, line: 1, type: !9, isLocal: false, isDefinition: true, scopeLine: 1, isOptimized: true, unit: !5, retainedNodes: !10)
30!9 = !DISubroutineType(types: !7)
31!10 = !{!11, !13}
32!11 = !DILocalVariable(name: "1", scope: !8, file: !6, line: 1, type: !12)
33!12 = !DIBasicType(name: "ty32", size: 32, encoding: DW_ATE_unsigned)
34!13 = !DILocalVariable(name: "2", scope: !8, file: !6, line: 2, type: !12)
35!14 = !DILocation(line: 1, column: 1, scope: !8)
36!15 = !DILocation(line: 2, column: 1, scope: !8)
37!16 = !DILocation(line: 3, column: 1, scope: !8)
38!17 = !{i32 2, !"Debug Info Version", i32 3}
39