blob: 162cbdb1d379a1749c35490ef691c3c938910e50 [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
2; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep IMPLICIT_DEF
Chris Lattner78298872006-10-13 23:54:16 +00003
4void %foo(long %X) {
5entry:
6 %tmp1 = and long %X, 3 ; <long> [#uses=1]
7 %tmp = setgt long %tmp1, 2 ; <bool> [#uses=1]
8 br bool %tmp, label %UnifiedReturnBlock, label %cond_true
9
10cond_true: ; preds = %entry
11 %tmp = tail call int (...)* %bar( ) ; <int> [#uses=0]
12 ret void
13
14UnifiedReturnBlock: ; preds = %entry
15 ret void
16}
17
18declare int %bar(...)
19