1 ; RUN: opt < %s -adce --preserve-ll-uselistorder -S | FileCheck %s
3 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-apple-macosx10.10.0"
6 ; CHECK: uselistorder label %bb16, { 1, 0 }
7 ; Function Attrs: noinline nounwind ssp uwtable
8 define void @ham() local_unnamed_addr #0 {
10 br i1 false, label %bb1, label %bb22
13 br i1 undef, label %bb2, label %bb20
18 bb5: ; preds = %bb16, %bb2
19 br i1 undef, label %bb6, label %bb17
22 br i1 undef, label %bb7, label %bb16
25 br i1 undef, label %bb9, label %bb8
28 br i1 undef, label %bb9, label %bb10
30 bb9: ; preds = %bb8, %bb7
39 bb13: ; preds = %bb12, %bb9
48 bb16: ; preds = %bb15, %bb6
60 bb21: ; preds = %bb20, %bb19
63 bb22: ; preds = %bb21, %bb
67 attributes #0 = { noinline nounwind ssp uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="core2" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
69 !llvm.module.flags = !{!0}
71 !0 = !{i32 7, !"PIC Level", i32 2}