mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
reimplement insertvalue/extractvalue metadata handling to not blindly
accept invalid input. Actually add a testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -5,11 +5,13 @@ define void @test() {
|
||||
|
||||
call void @llvm.dbg.func.start(metadata !"foo")
|
||||
|
||||
extractvalue {{i32, i32}, i32} undef, 0, 1, !foo !0
|
||||
|
||||
ret void, !foo !0, !bar !1
|
||||
}
|
||||
|
||||
!0 = metadata !{i32 662302, i32 26, metadata !1, null}
|
||||
!1 = metadata !{i32 4}
|
||||
!1 = metadata !{i32 4, metadata !"foo"}
|
||||
|
||||
declare void @llvm.dbg.func.start(metadata) nounwind readnone
|
||||
|
||||
|
Reference in New Issue
Block a user