commit | b5d12c443870f8191ffa5dc196ece2ddaaf694d4 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Oct 08 20:48:12 2007 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Oct 08 20:48:12 2007 +0000 |
tree | ef008343ed66b1d3a7b24c6c5606968046dbe2ad | |
parent | f19b8e43b34d09fbcfc105a1370722f3cca8582b [diff] [blame] |
These two tests now require only three multiply instructions, instead of four. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42765 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/X86/mul128.ll b/test/CodeGen/X86/mul128.ll new file mode 100644 index 0000000..c0ce6b3 --- /dev/null +++ b/test/CodeGen/X86/mul128.ll
@@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=x86-64 | grep mul | count 3 + +define i128 @foo(i128 %t, i128 %u) { + %k = mul i128 %t, %u + ret i128 %k +}