• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -O0 -global-isel < %s | FileCheck %s
2; REQUIRES: aarch64
3target triple = "aarch64-unknown-linux-gnu"
4
5define void @MAIN_() #0 {
6L.entry:
7  %0 = load <{ float, float }>, <{ float, float }>* undef, align 1
8  ; CHECK: DEBUG_VALUE: localvar
9  ; CHECK: DEBUG_VALUE: localvar
10  call void @llvm.dbg.value(metadata <{ float, float }> %0, metadata !10, metadata !DIExpression()), !dbg !13
11  unreachable
12}
13
14; Function Attrs: nounwind readnone speculatable
15declare void @llvm.dbg.value(metadata, metadata, metadata) #1
16
17attributes #0 = { "frame-pointer"="non-leaf" }
18attributes #1 = { nounwind readnone speculatable }
19
20!llvm.module.flags = !{!0}
21!llvm.dbg.cu = !{!1}
22
23!0 = !{i32 2, !"Debug Info Version", i32 3}
24!1 = distinct !DICompileUnit(language: DW_LANG_Fortran90, file: !2, producer: "", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !3, retainedTypes: !3, globals: !3, imports: !4)
25!2 = !DIFile(filename: "input", directory: "/")
26!3 = !{}
27!4 = !{!5}
28!5 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !6, entity: !9, file: !2, line: 18)
29!6 = distinct !DISubprogram(name: "p", scope: !1, file: !2, line: 18, type: !7, isLocal: false, isDefinition: true, scopeLine: 18, isOptimized: false, unit: !1)
30!7 = !DISubroutineType(cc: DW_CC_program, types: !8)
31!8 = !{null}
32!9 = !DIModule(scope: !1, name: "mod")
33!10 = !DILocalVariable(name: "localvar", scope: !11, file: !2, type: !12)
34!11 = !DILexicalBlock(scope: !6, file: !2, line: 18, column: 1)
35!12 = !DIBasicType(name: "complex", size: 64, align: 32, encoding: DW_ATE_complex_float)
36!13 = !DILocation(line: 0, scope: !11)
37