summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/shrink-fp-const2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/shrink-fp-const2.ll')
-rw-r--r--test/CodeGen/X86/shrink-fp-const2.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/shrink-fp-const2.ll b/test/CodeGen/X86/shrink-fp-const2.ll
new file mode 100644
index 000000000000..7e48b1bba8f1
--- /dev/null
+++ b/test/CodeGen/X86/shrink-fp-const2.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep flds
+; This should be a flds, not fldt.
+define x86_fp80 @test2() nounwind {
+entry:
+ ret x86_fp80 0xK3FFFC000000000000000
+}
+