aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-13 21:44:54 +0000
committerChris Lattner <sabre@nondot.org>2004-04-13 21:44:54 +0000
commitc78c0e4c06e3d6b37cfd7ba8b5f8462d4740bf5c (patch)
tree0583be0e4fa381fb7f26bf124707493be1a97b76 /test/CodeGen
parent4411de1082d27769a1621aaa0f732aacfa73f5c5 (diff)
downloadexternal_llvm-c78c0e4c06e3d6b37cfd7ba8b5f8462d4740bf5c.zip
external_llvm-c78c0e4c06e3d6b37cfd7ba8b5f8462d4740bf5c.tar.gz
external_llvm-c78c0e4c06e3d6b37cfd7ba8b5f8462d4740bf5c.tar.bz2
new testcase that crashes the fp stackifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/2004-04-13-FPCMOV-Crash.llx8
1 files changed, 8 insertions, 0 deletions
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 0000000..47ce1d9
--- /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 ; <double> [#uses=0]
+ ret double %X
+}