summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/mmx-emms.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/mmx-emms.ll')
-rw-r--r--test/CodeGen/X86/mmx-emms.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/mmx-emms.ll b/test/CodeGen/X86/mmx-emms.ll
new file mode 100644
index 000000000000..60ba84d8728d
--- /dev/null
+++ b/test/CodeGen/X86/mmx-emms.ll
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+mmx | grep emms
+define void @foo() {
+entry:
+ call void @llvm.x86.mmx.emms( )
+ br label %return
+
+return: ; preds = %entry
+ ret void
+}
+
+declare void @llvm.x86.mmx.emms()