blob: e9645886229884ca0f322e441fd009c067ac073b [file] [log] [blame]
Evan Cheng40306232010-03-16 21:51:27 +00001; RUN: llc < %s
2; rdar://7759395
3
4%0 = type { i32, i32 }
5
6define void @t(%0*, i32, i32, i32, i32) nounwind {
Duncan P. N. Exon Smith814b8e92015-08-28 20:26:49 +00007 tail call void @llvm.dbg.value(metadata %0* %0, i64 0, metadata !0, metadata !DIExpression()), !dbg !DILocation(scope: !1)
Evan Cheng40306232010-03-16 21:51:27 +00008 unreachable
9}
10
Adrian Prantl87b7eb92014-10-01 18:55:02 +000011declare void @llvm.dbg.value(metadata, i64, metadata, metadata) nounwind readnone
Evan Cheng40306232010-03-16 21:51:27 +000012
Manman Ren983a16c2013-06-28 05:43:10 +000013; !0 should conform to the format of DIVariable.
Duncan P. N. Exon Smith814b8e92015-08-28 20:26:49 +000014!0 = !DILocalVariable(name: "a", arg: 1, scope: !1)
15!1 = distinct !DISubprogram()