1; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s 3 4declare i32 @maybe_throwing_callee() 5 6; CHECK-ALL: declare void @did_not_throw(i32) 7declare void @did_not_throw(i32) 8 9declare void @thrown() 10 11; CHECK-ALL: define void @caller() 12define void @caller() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { 13; CHECK-ALL: bb: 14bb: 15; CHECK-INTERESTINGNESS: label %bb3 16; CHECK-FINAL: br label %bb3 17 %i0 = invoke i32 @maybe_throwing_callee() 18 to label %bb3 unwind label %bb1 19 20bb1: 21 landingpad { i8*, i32 } catch i8* null 22 call void @thrown() 23 br label %bb4 24 25; CHECK-ALL: bb3: 26bb3: 27; CHECK-INTERESTINGNESS: call void @did_not_throw(i32 28; CHECK-FINAL: call void @did_not_throw(i32 undef) 29; CHECK-ALL: br label %bb4 30 call void @did_not_throw(i32 %i0) 31 br label %bb4 32 33; CHECK-ALL: bb4: 34; CHECK-ALL: ret void 35bb4: 36 ret void 37} 38 39declare i32 @__gxx_personality_v0(...) 40