1 ; RUN: opt < %s -tailcallelim -verify-dom-info -S | FileCheck %s
3 define i32 @f_1(i32 %x) {
6 %cond = icmp ugt i32 %x, 0
7 br i1 %cond, label %return, label %body
11 ; CHECK: call i32 @f_1(i32 %y) [ "deopt"() ]
13 %tmp = call i32 @f_1(i32 %y) [ "deopt"() ]
20 define i32 @f_2(i32 %x) {
24 %cond = icmp ugt i32 %x, 0
25 br i1 %cond, label %return, label %body
29 ; CHECK: call i32 @f_2(i32 %y) [ "unknown"() ]
31 %tmp = call i32 @f_2(i32 %y) [ "unknown"() ]
40 define void @f_3(i1 %B) personality i8 42 {
44 to label %exit unwind label %merge
46 %cs1 = catchswitch within none [label %catch] unwind to caller
50 ; CHECK: call void @f_3(i1 %B) [ "funclet"(token %cp) ]
51 %cp = catchpad within %cs1 []
52 call void @f_3(i1 %B) [ "funclet"(token %cp) ]