blob: 95b5312e4c24849af8df4f3e7ffd1e6957554919 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep IMPLICIT_DEF
Chris Lattner78298872006-10-13 23:54:16 +00002
3void %foo(long %X) {
4entry:
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
9cond_true: ; preds = %entry
10 %tmp = tail call int (...)* %bar( ) ; <int> [#uses=0]
11 ret void
12
13UnifiedReturnBlock: ; preds = %entry
14 ret void
15}
16
17declare int %bar(...)
18