1 ; RUN: llc -mtriple=x86_64-apple-darwin10 -O0 < %s | FileCheck %s
3 ; test that we print a label that we use. We had a bug where
4 ; we would print the jump, but not the label because it was considered
8 ; CHECK: LBB0_9: ## %cleanup
12 br i1 undef, label %land.lhs.true, label %if.end11
14 land.lhs.true: ; preds = %entry
15 br i1 undef, label %if.then, label %if.end11
17 if.then: ; preds = %land.lhs.true
18 br i1 undef, label %if.then9, label %if.end
20 if.then9: ; preds = %if.then
23 if.end: ; preds = %if.then
26 cleanup: ; preds = %if.end, %if.then9
27 switch i32 undef, label %default [
28 i32 0, label %cleanup.cont
29 i32 1, label %if.end11
32 cleanup.cont: ; preds = %cleanup
35 if.end11: ; preds = %cleanup.cont, %cleanup, %land.lhs.true, %entry
38 default: ; preds = %cleanup