summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/mul128.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/mul128.ll')
-rw-r--r--test/CodeGen/X86/mul128.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/mul128.ll b/test/CodeGen/X86/mul128.ll
new file mode 100644
index 00000000000..6825b99f242
--- /dev/null
+++ b/test/CodeGen/X86/mul128.ll
@@ -0,0 +1,6 @@
+; RUN: llc < %s -march=x86-64 | grep mul | count 3
+
+define i128 @foo(i128 %t, i128 %u) {
+ %k = mul i128 %t, %u
+ ret i128 %k
+}