commit | a24b431b276105f32c38c59cff028d9a57670012 | [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 | bda95fc07bcbd3c670ed01a9c531760e16824061 | |
parent | e90597f593675b89421590d4ad60dc76ec7efdc1 [diff] [blame] |
These two tests now require only three multiply instructions, instead of four. llvm-svn: 42765
diff --git a/llvm/test/CodeGen/X86/mul128.ll b/llvm/test/CodeGen/X86/mul128.ll new file mode 100644 index 0000000..c0ce6b3 --- /dev/null +++ b/llvm/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 +}