[llvm] r363730 - Fix broken debug info in in an !llvm.loop attachment in this testcase.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 13:07:53 PDT 2019


Author: adrian
Date: Tue Jun 18 13:07:53 2019
New Revision: 363730

URL: http://llvm.org/viewvc/llvm-project?rev=363730&view=rev
Log:
Fix broken debug info in in an !llvm.loop attachment in this testcase.

Modified:
    llvm/trunk/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll

Modified: llvm/trunk/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll?rev=363730&r1=363729&r2=363730&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll (original)
+++ llvm/trunk/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll Tue Jun 18 13:07:53 2019
@@ -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}




More information about the llvm-commits mailing list