new testcase that crashes the fp stackifier
authorChris Lattner <sabre@nondot.org>
Tue, 13 Apr 2004 21:44:54 +0000 (21:44 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Apr 2004 21:44:54 +0000 (21:44 +0000)
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 [new file with mode: 0644]

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 (file)
index 0000000..47ce1d9
--- /dev/null
@@ -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            ; <double> [#uses=0]
+       ret double %X
+}