40 lines · plain
1# RUN: llc %s --run-pass=none -o - | FileCheck %s2 3## Check the MIR parser understands atomGroup and atomRank.4 5# CHECK: RET64 $eax, debug-location !DILocation(line: 2, scope: ![[#]], atomGroup: 1, atomRank: 2)6 7--- |8 target triple = "x86_64-unknown-linux-gnu"9 define hidden noundef i32 @p() local_unnamed_addr !dbg !5 {10 entry:11 ret i32 012 }13 14 declare void @_Z12prologue_endv() local_unnamed_addr15 16 !llvm.dbg.cu = !{!0}17 !llvm.module.flags = !{!2, !3}18 !llvm.ident = !{!4}19 20 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_17, file: !1, producer: "clang version 19.0.0", isOptimized: true, runtimeVersion: 0, emissionKind: LineTablesOnly, splitDebugInlining: false, nameTableKind: None)21 !1 = !DIFile(filename: "test.cpp", directory: "/")22 !2 = !{i32 7, !"Dwarf Version", i32 5}23 !3 = !{i32 2, !"Debug Info Version", i32 3}24 !4 = !{!"clang version 19.0.0"}25 !5 = distinct !DISubprogram(name: "p", scope: !1, file: !1, line: 1, type: !6, scopeLine: 1, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)26 !6 = !DISubroutineType(types: !7)27 !7 = !{}28 29...30---31name: p32alignment: 1633body: |34 bb.0.entry:35 liveins: $edx, $esi, $rbp, $rbx36 renamable $eax = XOR32rr undef $eax, undef $eax, implicit-def dead $eflags37 RET64 $eax, debug-location !DILocation(line: 2, scope: !5, atomGroup: 1, atomRank: 2)38 39...40