1; RUN: opt < %s -simplifycfg -S | FileCheck %s 2 3; CHECK-NOT: invoke 4; CHECK-NOT: landingpad 5 6declare void @bar() 7 8define i32 @foo() personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 { 9entry: 10 invoke void @bar() 11 to label %return unwind label %lpad 12 13return: 14 ret i32 0 15 16lpad: 17 %lp = landingpad { i8*, i32 } 18 cleanup 19 resume { i8*, i32 } %lp 20} 21 22declare i32 @__gxx_personality_v0(i32, i64, i8*, i8*) 23