brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · be160dc Raw
38 lines · plain
1; RUN: llc -debugify-and-strip-all-safe=0 -mtriple armv7 %s -stop-before=livedebugvalues -o - | FileCheck %s2 3define <4 x i8> @i(ptr, <4 x i8>) !dbg !8 {4  %3 = load <4 x i8>, ptr %0, align 4, !dbg !145  ; CHECK: $[[reg:.*]] = VLD1LNd32 {{.*}} debug-location !14 :: (load (s32) from %ir.0)6  ; CHECK-NEXT: VMOVLuv8i16 {{.*}} $[[reg]], {{.*}} debug-location !147  ; CHECK-NEXT: VMOVLuv4i32 {{.*}} $[[reg]], {{.*}} debug-location !148  %4 = udiv <4 x i8> %1, %3, !dbg !159  call void @llvm.dbg.value(metadata <4 x i8> %3, metadata !11, metadata !DIExpression()), !dbg !1410  call void @llvm.dbg.value(metadata <4 x i8> %4, metadata !13, metadata !DIExpression()), !dbg !1511  ret <4 x i8> %4, !dbg !1612}13 14declare void @llvm.dbg.value(metadata, metadata, metadata)15 16!llvm.debugify = !{!0, !1, !2, !3}17!llvm.module.flags = !{!4}18!llvm.dbg.cu = !{!5}19 20!0 = !{i32 24}21!1 = !{i32 19}22!2 = !{i32 3}23!3 = !{i32 2}24!4 = !{i32 2, !"Debug Info Version", i32 3}25!5 = distinct !DICompileUnit(language: DW_LANG_C, file: !6, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !7)26!6 = !DIFile(filename: "/Users/vsk/Desktop/test.ll", directory: "/")27!7 = !{}28!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)29!9 = !DISubroutineType(types: !7)30!10 = !{!11, !13}31!11 = !DILocalVariable(name: "1", scope: !8, file: !6, line: 1, type: !12)32!12 = !DIBasicType(name: "ty32", size: 32, encoding: DW_ATE_unsigned)33!13 = !DILocalVariable(name: "2", scope: !8, file: !6, line: 2, type: !12)34!14 = !DILocation(line: 1, column: 1, scope: !8)35!15 = !DILocation(line: 2, column: 1, scope: !8)36!16 = !DILocation(line: 3, column: 1, scope: !8)37!17 = !{i32 2, !"Debug Info Version", i32 3}38