mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
72d0d6e368
is valid, but not useful, when variable identified by !1 is optimized away by the optimizer. llvm-svn: 98986
13 lines
338 B
LLVM
13 lines
338 B
LLVM
; RUN: llvm-as < %s | opt -verify -disable-output
|
|
|
|
define void @Foo(i32 %a, i32 %b) {
|
|
entry:
|
|
call void @llvm.dbg.declare(metadata !{i32* null}, metadata !1)
|
|
ret void
|
|
}
|
|
|
|
!0 = metadata !{i32 662302, i32 26, metadata !1, null}
|
|
!1 = metadata !{i32 4, metadata !"foo"}
|
|
|
|
declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone
|