Fix broken debug info in in an !llvm.loop attachment in this testcase.
authorAdrian Prantl <aprantl@apple.com>
Tue, 18 Jun 2019 20:07:53 +0000 (20:07 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 18 Jun 2019 20:07:53 +0000 (20:07 +0000)
llvm-svn: 363730

llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll

index 7bbfb7ef17adefdfd819b11148dca98ae46745b6..98077ea6c57ca8ee817af73b87e6a4d43ca64ad2 100644 (file)
@@ -112,8 +112,8 @@ attributes #1 = { nounwind readnone }
 !36 = !DILocation(line: 6, column: 7, scope: !32, inlinedAt: !27)
 !37 = !DILocation(line: 5, column: 28, scope: !32, inlinedAt: !27)
 !38 = distinct !{!38, !39, !40}
-!39 = !DILocation(line: 5, column: 3, scope: !24)
-!40 = !DILocation(line: 6, column: 14, scope: !24)
+!39 = !DILocation(line: 5, column: 3, scope: !24, inlinedAt: !27)
+!40 = !DILocation(line: 6, column: 14, scope: !24, inlinedAt: !27)
 !41 = !DILocation(line: 11, column: 12, scope: !42, inlinedAt: !46)
 !42 = distinct !DISubprogram(name: "lee2", scope: !1, file: !1, line: 10, type: !9, isLocal: true, isDefinition: true, scopeLine: 10, flags: DIFlagPrototyped, isOptimized: true, unit: !0, retainedNodes: !43)
 !43 = !{!44, !45}