1; RUN: opt < %s -ipsccp -S | grep "ret i32 42" 2; RUN: opt < %s -ipsccp -S | grep "ret i32 undef" 3; PR3325 4 5define i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { 6 %tmp1 = invoke i32 @f() 7 to label %UnifiedReturnBlock unwind label %lpad 8 9lpad: 10 %val = landingpad { i8*, i32 } 11 cleanup 12 unreachable 13 14UnifiedReturnBlock: 15 ret i32 %tmp1 16} 17 18define internal i32 @f() { 19 ret i32 42 20} 21 22declare i8* @__cxa_begin_catch(i8*) nounwind 23 24declare void @__cxa_end_catch() 25 26declare i32 @__gxx_personality_v0(...) 27