forked from OSchip/llvm-project
These two tests now require only three multiply instructions,
instead of four. llvm-svn: 42765
This commit is contained in:
parent
e90597f593
commit
a24b431b27
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue