1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
2 ; Skip dead MemoryPhis when performing memory congruency verification
4 ; RUN: opt -S -passes=newgvn %s | FileCheck %s
8 declare void @llvm.lifetime.start.p0(i64, ptr nocapture)
10 define void @tinkywinky() {
11 ; CHECK-LABEL: define void @tinkywinky() {
13 ; CHECK-NEXT: br i1 false, label [[BODY:%.*]], label [[END:%.*]]
15 ; CHECK-NEXT: store i8 poison, ptr null, align 1
16 ; CHECK-NEXT: br label [[END]]
18 ; CHECK-NEXT: ret void
21 call void @llvm.lifetime.start.p0(i64 4, ptr undef)
22 br i1 false, label %body, label %end
25 call void @llvm.lifetime.start.p0(i64 4, ptr undef)