| ; RUN: opt < %s -instcombine -S | grep {ret i32 %A}
|
| ; RUN: opt < %s -die -S | not grep call.*llvm
|
| define i32 @test(i32 %A) {
|
| br i1 %X, label %T, label %C
|
| %C.upgrd.1 = phi i32 [ %B, %T ], [ %A, %0 ]
|
| define i32* @test2(i32 %width) {
|
| %tmp = call i8* @llvm.stacksave( )
|
| %tmp14 = alloca i32, i32 %width
|
| declare i8* @llvm.stacksave()
|
| declare void @llvm.lifetime.start(i64, i8*)
|
| declare void @llvm.lifetime.end(i64, i8*)
|
| call void @llvm.lifetime.start(i64 -1, i8* undef)
|
| call void @llvm.lifetime.end(i64 -1, i8* undef)
|