aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2008-01-09-LongDoubleSin.ll')
-rw-r--r--test/CodeGen/X86/2008-01-09-LongDoubleSin.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll b/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll
new file mode 100644
index 0000000..962d6ec
--- /dev/null
+++ b/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | llc -o - | grep sinl
+
+target triple = "i686-pc-linux-gnu"
+
+define x86_fp80 @f(x86_fp80 %x) nounwind {
+entry:
+ %tmp2 = tail call x86_fp80 @sinl( x86_fp80 %x ) nounwind readonly ; <x86_fp80> [#uses=1]
+ ret x86_fp80 %tmp2
+}
+
+declare x86_fp80 @sinl(x86_fp80) nounwind readonly