X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=test%2FExecutionEngine%2F2003-05-11-PHIRegAllocBug.ll;h=45279adbe57b33a3ea9dc4a7f463ec19386834bf;hb=34c53f3ac9f5b426cadc81e33cc0a5ef7e08068f;hp=6b1b0abcbab747515004d5b5b1c4223847df2da7;hpb=e9789ef994ba9761af87baf6e6b5953adba3968b;p=oota-llvm.git diff --git a/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll index 6b1b0abcbab..45279adbe57 100644 --- a/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll +++ b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll @@ -1,18 +1,15 @@ -; RUN: llvm-as -f %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: %lli %s > /dev/null -target endian = little -target pointersize = 32 +target datalayout = "e-p:32:32" -implementation - -int %main() { +define i32 @main() { entry: br label %endif -then: +then: ; No predecessors! br label %endif -endif: - %x = phi uint [ 4, %entry ], [ 27, %then ] - %result = phi int [ 32, %then ], [ 0, %entry ] - ret int 0 +endif: ; preds = %then, %entry + %x = phi i32 [ 4, %entry ], [ 27, %then ] ; [#uses=0] + %result = phi i32 [ 32, %then ], [ 0, %entry ] ; [#uses=0] + ret i32 0 } +