From 77a498cd7eb4e3f0e1fafff27f7e5c13a8cd7516 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 21 Oct 2005 21:09:13 +0000 Subject: [PATCH] New testcase that crashes the ppc backend git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23871 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Generic/2005-10-21-longlonggtu.ll | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/CodeGen/Generic/2005-10-21-longlonggtu.ll 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 00000000000..7d12d78cf25 --- /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 ; [#uses=1] + %tmp5 = add ulong %u, 9007199254740991 ; [#uses=1] + %tmp = setgt ulong %tmp5, 18014398509481982 ; [#uses=1] + br bool %tmp, label %T, label %F +T: + ret float 1.0 +F: + call float %t(long 0) + ret float 0.0 +} -- 2.34.1