llvm/test/DebugInfo/2009-11-03-InsertExtractValue.ll
Chris Lattner e6bb172f7e change this from using '!dbg' to using '!dbgx'. The
MD used here isn't valid for !dbg.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100085 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-01 05:13:10 +00:00

12 lines
283 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
!0 = metadata !{i32 42}
define <{i32, i32}> @f1() {
; CHECK: !dbgx !0
%r = insertvalue <{ i32, i32 }> zeroinitializer, i32 4, 1, !dbgx !0
; CHECK: !dbgx !0
%e = extractvalue <{ i32, i32 }> %r, 0, !dbgx !0
ret <{ i32, i32 }> %r
}