f5643ae33304aaa13072a86d2c8e1b20e8012047
[oota-llvm.git] / test / Transforms / TailCallElim / no-return-calls.ll
1 ; RUN: opt < %s -tailcallelim -S | FileCheck %s
2
3 define void @t() nounwind ssp {
4 entry:
5 ; CHECK: entry:
6 ; CHECK: %0 = call i32 @foo()
7 ; CHECK: ret void
8   %0 = call i32 @foo() nounwind noreturn
9   ret void
10 }
11
12 declare i32 @foo()