From: Chris Lattner Date: Thu, 5 Jun 2003 16:57:55 +0000 (+0000) Subject: New testcase, the JIT currently handles this right, I just don't want to X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=340a2875b5e8916d185281b827d0bd33cd12a42e;p=oota-llvm.git New testcase, the JIT currently handles this right, I just don't want to reintroduce a bug that didn't have a testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6623 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/ExecutionEngine/2003-06-05-PHIBug.ll b/test/ExecutionEngine/2003-06-05-PHIBug.ll new file mode 100644 index 00000000000..0abe5d819c4 --- /dev/null +++ b/test/ExecutionEngine/2003-06-05-PHIBug.ll @@ -0,0 +1,16 @@ +; Testcase distilled from 256.bzip2. + +target endian = little +target pointersize = 32 + +int %main() { +entry: + %X = add int 1, -1 + br label %Next + +Next: + %A = phi int [ %X, %entry ] + %B = phi int [ %X, %entry ] + %C = phi int [ %X, %entry ] + ret int %C +}