Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep IMPLICIT_DEF |
2 | |||||
3 | void %foo(long %X) { | ||||
4 | entry: | ||||
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 | %tmp = tail call int (...)* %bar( ) ; <int> [#uses=0] | ||||
11 | ret void | ||||
12 | |||||
13 | UnifiedReturnBlock: ; preds = %entry | ||||
14 | ret void | ||||
15 | } | ||||
16 | |||||
17 | declare int %bar(...) | ||||
18 |