aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2004-06-10-StackifierCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2004-06-10-StackifierCrash.ll')
-rw-r--r--test/CodeGen/X86/2004-06-10-StackifierCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2004-06-10-StackifierCrash.ll b/test/CodeGen/X86/2004-06-10-StackifierCrash.ll
new file mode 100644
index 0000000..1a51bee
--- /dev/null
+++ b/test/CodeGen/X86/2004-06-10-StackifierCrash.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=x86
+
+define i1 @T(double %X) {
+ %V = fcmp oeq double %X, %X ; <i1> [#uses=1]
+ ret i1 %V
+}