Fix LLVMContext to match what MDKind names that the LL parser permits. Fixes PR21799!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223995 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky
2014-12-11 02:10:28 +00:00
parent 5e62b8471d
commit efddacd5d6
2 changed files with 3 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ define void @foo(i32 %x) {
call void @llvm.zonk(metadata !{i32 %x}, i64 0, metadata !1)
store i32 0, i32* null, !whatever !0, !whatever_else !{}, !more !{metadata !"hello"}
store i32 0, i32* null, !whatever !{metadata !"hello", metadata !1, metadata !{}, metadata !2}
ret void
ret void, !_1 !0
}
declare void @llvm.zonk(metadata, i64, metadata) nounwind readnone