[PATCH] D75212: Visit previously unreachable nodes in the debug info metadata verifier.
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 14:38:49 PST 2020
vsk accepted this revision.
vsk added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/test/Verifier/llvm.loop.cu.ll:21
+!10 = distinct !{!10, !11}
+!11 = !DILocation(line: 18, column: 2, scope: !12)
+!12 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 7, type: !7, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !13)
----------------
Yeah, correct IR here would be `scope: !6`, I suppose that's why the duplicate DICompileUnit hangs around.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75212/new/
https://reviews.llvm.org/D75212
More information about the llvm-commits
mailing list