llvm/test/Feature/metadata.ll
Chris Lattner fd450c026a fix PR7105 by enumerating MDNodes on all @llvm.foo
function calls, not just recognized intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103428 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-10 20:53:17 +00:00

14 lines
289 B
LLVM

; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; PR7105
define void @foo() {
call void @llvm.zonk(metadata !1, i64 0, metadata !1)
ret void
}
declare void @llvm.zonk(metadata, i64, metadata) nounwind readnone
!named = !{!0}
!0 = metadata !{i8** null}
!1 = metadata !{i8* null}