aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/2009-11-03-InsertExtractValue.ll
blob: 8782e4446f4bfc61423216623dca4d4215ba9052 (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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
}