mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
bf170d4c2f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92793 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
711 B
LLVM
23 lines
711 B
LLVM
; RUN: llvm-as < %s | llvm-dis | grep {ret void, !foo !0, !bar !1}
|
|
|
|
define void @Foo(i32 %a, i32 %b) {
|
|
entry:
|
|
%0 = add i32 %a, 1 ; <i32> [#uses=1]
|
|
%two = add i32 %b, 2 ; <i32> [#uses=2]
|
|
|
|
call void @llvm.dbg.func.start(metadata !{i32 %0})
|
|
call void @llvm.dbg.func.start(metadata !{i32 %b, i32 %0})
|
|
call void @llvm.dbg.func.start(metadata !{i32 %a, metadata !"foo"})
|
|
call void @llvm.dbg.func.start(metadata !{metadata !0, i32 %two})
|
|
|
|
ret void, !foo !0, !bar !1
|
|
}
|
|
|
|
!0 = metadata !{i32 662302, i32 26, metadata !1, null}
|
|
!1 = metadata !{i32 4, metadata !"foo"}
|
|
|
|
declare void @llvm.dbg.func.start(metadata) nounwind readnone
|
|
|
|
!foo = !{ !0 }
|
|
!bar = !{ !1 }
|