More makefile changes to allow dejagnu tests to pass when system tools default to...
[oota-llvm.git] / test / ExecutionEngine / 2003-05-11-PHIRegAllocBug.ll
1 ; RUN: llvm-as %s -f -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4 target datalayout = "e-p:32:32"
5
6 define i32 @main() {
7 entry:
8         br label %endif
9 then:           ; No predecessors!
10         br label %endif
11 endif:          ; preds = %then, %entry
12         %x = phi i32 [ 4, %entry ], [ 27, %then ]               ; <i32> [#uses=0]
13         %result = phi i32 [ 32, %then ], [ 0, %entry ]          ; <i32> [#uses=0]
14         ret i32 0
15 }
16