1 ; RUN: opt < %s -passes=debugify,instcombine -S | FileCheck %s
2 ; RUN: opt < %s -passes=debugify,instcombine -S --try-experimental-debuginfo-iterators | FileCheck %s
4 declare i32 @escape(i32)
6 ; CHECK-LABEL: define {{.*}}@foo(
7 define i32 @foo(i1 %c1) {
10 br i1 %c1, label %lhs, label %rhs
21 ; CHECK: %storemerge = phi i32 [ 2, %rhs ], [ 1, %lhs ], !dbg [[merge_loc:![0-9]+]]
22 %baz.val = load i32, ptr %baz
23 %ret.val = call i32 @escape(i32 %baz.val)
27 ; CHECK: [[merge_loc]] = !DILocation(line: 0