1 ; RUN: opt < %s -simplifycfg -S | FileCheck %s
3 ; Test that a lifetime intrinsic doesn't prevent us from simplifying this.
10 define void @foo(i1 %x) {
13 call void @llvm.lifetime.start(i64 -1, i8* %a) nounwind
14 br i1 %x, label %bb0, label %bb1
17 call void @llvm.lifetime.end(i64 -1, i8* %a) nounwind
27 declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind
29 declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind