diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-05 16:57:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-05 16:57:55 +0000 |
commit | 340a2875b5e8916d185281b827d0bd33cd12a42e (patch) | |
tree | 01c933eea5fa8dde10c26e0de7d659f441c21316 | |
parent | cd0cc613293b2e2d0964dca95a4c0f63708e0f64 (diff) | |
download | external_llvm-340a2875b5e8916d185281b827d0bd33cd12a42e.zip external_llvm-340a2875b5e8916d185281b827d0bd33cd12a42e.tar.gz external_llvm-340a2875b5e8916d185281b827d0bd33cd12a42e.tar.bz2 |
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
-rw-r--r-- | test/ExecutionEngine/2003-06-05-PHIBug.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/ExecutionEngine/2003-06-05-PHIBug.ll b/test/ExecutionEngine/2003-06-05-PHIBug.ll new file mode 100644 index 0000000..0abe5d8 --- /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 +} |