Chris Lattner | 4c1984d | 2006-10-14 03:40:02 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=ppc32 && |
2 | ; RUN: llvm-as < %s | llc -march=ppc32 | not grep mfcr | ||||
3 | |||||
4 | void %test(long %X) { | ||||
5 | %tmp1 = and long %X, 3 ; <long> [#uses=1] | ||||
6 | %tmp = setgt long %tmp1, 2 ; <bool> [#uses=1] | ||||
7 | br bool %tmp, label %UnifiedReturnBlock, label %cond_true | ||||
8 | |||||
9 | cond_true: ; preds = %entry | ||||
10 | tail call void %test(long 0) | ||||
11 | ret void | ||||
12 | |||||
13 | UnifiedReturnBlock: ; preds = %entry | ||||
14 | ret void | ||||
15 | } | ||||
16 |