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