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
This commit is contained in:
Dan Gohman 2007-10-08 20:48:12 +00:00
parent f19b8e43b3
commit b5d12c4438
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
}