Skip to content

Commit 06aae56

Browse files
committed
nit
1 parent 834baf1 commit 06aae56

File tree

1 file changed

+6
-8
lines changed
  • llvm/test/DebugInfo/KeyInstructions/Generic

1 file changed

+6
-8
lines changed

llvm/test/DebugInfo/KeyInstructions/Generic/inline.ll

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ entry:
1616
%a.addr = alloca i32, align 4
1717
%x = alloca i32, align 4
1818
store i32 %a, ptr %a.addr, align 4
19-
%0 = load i32, ptr %a.addr, align 4, !dbg !18
20-
%mul = mul nsw i32 %0, 2, !dbg !18
19+
%0 = load i32, ptr %a.addr, align 4
20+
%mul = mul nsw i32 %0, 2
2121
%add = add nsw i32 %mul, 1, !dbg !19
2222
store i32 %add, ptr %x, align 4, !dbg !20
23-
ret void, !dbg !22
23+
ret void
2424
}
2525

2626
define hidden void @_Z1gi(i32 noundef %b) !dbg !23 {
2727
entry:
2828
%b.addr = alloca i32, align 4
2929
store i32 %b, ptr %b.addr, align 4
30-
%0 = load i32, ptr %b.addr, align 4, !dbg !24
30+
%0 = load i32, ptr %b.addr, align 4
3131
call void @_Z1fi(i32 noundef %0), !dbg !24
32-
ret void, !dbg !25
32+
ret void
3333
}
3434

3535
!llvm.dbg.cu = !{!0}
@@ -44,10 +44,8 @@ entry:
4444
!11 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !12, scopeLine: 1, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)
4545
!12 = !DISubroutineType(types: !13)
4646
!13 = !{}
47-
!18 = !DILocation(line: 2, scope: !11)
4847
!19 = !DILocation(line: 2, scope: !11, atomGroup: 1, atomRank: 2)
4948
!20 = !DILocation(line: 2, scope: !11, atomGroup: 1, atomRank: 1)
50-
!22 = !DILocation(line: 3, scope: !11, atomGroup: 2, atomRank: 1)
5149
!23 = distinct !DISubprogram(name: "g", scope: !1, file: !1, line: 4, type: !12, scopeLine: 4, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0)
5250
!24 = !DILocation(line: 5, scope: !23)
53-
!25 = !DILocation(line: 6, scope: !23, atomGroup: 1, atomRank: 1)
51+

0 commit comments

Comments
 (0)