blob: 5ad7fa14b358c18c4d8004b42990da68339595f7 [file] [log] [blame]
Chris Lattnerd0fffc82006-10-27 21:32:10 +00001; RUN: llvm-as < %s | llc -march=x86 | not grep set
2
3void %foo(int %X, int %Y, int %Z) {
4entry:
5 %tmp = tail call int (...)* %bar( ) ; <int> [#uses=0]
6 %tmp = seteq int %X, 0 ; <bool> [#uses=1]
7 %tmp3 = setlt int %Y, 5 ; <bool> [#uses=1]
8 %tmp4 = or bool %tmp3, %tmp ; <bool> [#uses=1]
9 br bool %tmp4, label %cond_true, label %UnifiedReturnBlock
10
11cond_true: ; preds = %entry
12 %tmp5 = tail call int (...)* %bar( ) ; <int> [#uses=0]
13 ret void
14
15UnifiedReturnBlock: ; preds = %entry
16 ret void
17}
18
19declare int %bar(...)