These two tests now require only three multiply instructions,
[oota-llvm.git] / test / CodeGen / X86 / sse-align-0.ll
1 ; RUN: llvm-as < %s | llc -march=x86-64 | not grep mov
2
3 define <4 x float> @foo(<4 x float>* %p, <4 x float> %x)
4 {
5   %t = load <4 x float>* %p
6   %z = mul <4 x float> %t, %x
7   ret <4 x float> %z
8 }
9 define <2 x double> @bar(<2 x double>* %p, <2 x double> %x)
10 {
11   %t = load <2 x double>* %p
12   %z = mul <2 x double> %t, %x
13   ret <2 x double> %z
14 }