blob: 6dbe484a0fe8ee5cc60c3e3701529d1d2ed72e3d [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mfcr
Chris Lattner4c1984d2006-10-14 03:40:02 +00002
3void %test(long %X) {
4 %tmp1 = and long %X, 3 ; <long> [#uses=1]
5 %tmp = setgt long %tmp1, 2 ; <bool> [#uses=1]
6 br bool %tmp, label %UnifiedReturnBlock, label %cond_true
7
8cond_true: ; preds = %entry
9 tail call void %test(long 0)
10 ret void
11
12UnifiedReturnBlock: ; preds = %entry
13 ret void
14}
15