These two tests now require only three multiply instructions,

instead of four.

llvm-svn: 42765
This commit is contained in:
Dan Gohman 2007-10-08 20:48:12 +00:00
parent e90597f593
commit a24b431b27
2 changed files with 12 additions and 0 deletions

View File

@ -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
}

View File

@ -0,0 +1,6 @@
; RUN: llvm-as < %s | llc -march=x86 | grep mul | count 3
define i64 @foo(i64 %t, i64 %u) {
%k = mul i64 %t, %u
ret i64 %k
}