From c78c0e4c06e3d6b37cfd7ba8b5f8462d4740bf5c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 13 Apr 2004 21:44:54 +0000 Subject: [PATCH] new testcase that crashes the fp stackifier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12932 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx diff --git a/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx b/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx new file mode 100644 index 00000000000..47ce1d9f9e7 --- /dev/null +++ b/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 + +implementation ; Functions: + +double %test(double %d) { + %X = select bool false, double %d, double %d ; [#uses=0] + ret double %X +}