1 ; Skip dead MemoryPhis when performing memory congruency verification
3 ; RUN: opt -S -newgvn %s | FileCheck %s
6 ; CHECK: define void @tinkywinky() {
8 ; CHECK-NEXT: br i1 false, label %body, label %end
10 ; CHECK-NEXT: store i8 undef, i8* null
11 ; CHECK-NEXT: br label %end
13 ; CHECK-NEXT: ret void
16 declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture)
18 define void @tinkywinky() {
20 call void @llvm.lifetime.start.p0i8(i64 4, i8* undef)
21 br i1 false, label %body, label %end
24 call void @llvm.lifetime.start.p0i8(i64 4, i8* undef)