1 ; RUN: opt < %s -debugify -instcombine -S | FileCheck %s
3 declare i32 @escape(i32)
5 ; CHECK-LABEL: define {{.*}}@foo(
9 br i1 undef, label %lhs, label %rhs
12 store i32 1, i32* %baz
16 store i32 2, i32* %baz
20 ; CHECK: %storemerge = phi i32 [ 1, %lhs ], [ 2, %rhs ], !dbg [[merge_loc:![0-9]+]]
21 %baz.val = load i32, i32* %baz
22 %ret.val = call i32 @escape(i32 %baz.val)
26 ; CHECK: [[merge_loc]] = !DILocation(line: 0