diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-21 21:09:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-21 21:09:13 +0000 |
commit | 77a498cd7eb4e3f0e1fafff27f7e5c13a8cd7516 (patch) | |
tree | 193c5274fa1d6391bb98f8d2d66a64344052c6b5 /test/CodeGen | |
parent | f5fc2cbd6bcf80cc34c8114007f31d8ffd1d138d (diff) | |
download | external_llvm-77a498cd7eb4e3f0e1fafff27f7e5c13a8cd7516.zip external_llvm-77a498cd7eb4e3f0e1fafff27f7e5c13a8cd7516.tar.gz external_llvm-77a498cd7eb4e3f0e1fafff27f7e5c13a8cd7516.tar.bz2 |
New testcase that crashes the ppc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/Generic/2005-10-21-longlonggtu.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2005-10-21-longlonggtu.ll b/test/CodeGen/Generic/2005-10-21-longlonggtu.ll new file mode 100644 index 0000000..7d12d78 --- /dev/null +++ b/test/CodeGen/Generic/2005-10-21-longlonggtu.ll @@ -0,0 +1,12 @@ +; RUN: llvm-as < %s | llc +float %t(long %u) { + %u = cast long %u to ulong ; <ulong> [#uses=1] + %tmp5 = add ulong %u, 9007199254740991 ; <ulong> [#uses=1] + %tmp = setgt ulong %tmp5, 18014398509481982 ; <bool> [#uses=1] + br bool %tmp, label %T, label %F +T: + ret float 1.0 +F: + call float %t(long 0) + ret float 0.0 +} |