27 lines · plain
1; RUN: llc -mtriple=x86_64-apple-darwin10 -O0 < %s | FileCheck %s2 3; test that we print a label that we use. We had a bug where4; we would print the jump, but not the label because it was considered5; a fall through.6 7; CHECK: jmp LBB0_18; CHECK: LBB0_1:9 10define void @foobar() personality ptr @__gxx_personality_v0 {11entry:12 invoke void @_zed()13 to label %invoke.cont unwind label %lpad14 15invoke.cont: ; preds = %entry16 ret void17 18lpad: ; preds = %entry19 %exn = landingpad {ptr, i32}20 cleanup21 unreachable22}23 24declare void @_zed() ssp align 225 26declare i32 @__gxx_personality_v0(...)27