summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/combine-lds.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/combine-lds.ll')
-rw-r--r--test/CodeGen/X86/combine-lds.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/combine-lds.ll b/test/CodeGen/X86/combine-lds.ll
new file mode 100644
index 00000000000..b49d081a64f
--- /dev/null
+++ b/test/CodeGen/X86/combine-lds.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=x86 -mattr=+sse2 | grep fldl | count 1
+
+define double @doload64(i64 %x) nounwind {
+ %tmp717 = bitcast i64 %x to double
+ ret double %tmp717
+}