Implement a feature (-vector-unaligned-mem) to allow targets to
[oota-llvm.git] / test / CodeGen / X86 / sse-align-0.ll
index 0b28067966574e386374ce40625b1e8ee9477e54..b12a87d614d28b1aa4d6cdb83eb367d2d2894bc4 100644 (file)
@@ -1,14 +1,12 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | not grep mov
+; RUN: llc < %s -march=x86-64 | not grep mov
 
-define <4 x float> @foo(<4 x float>* %p, <4 x float> %x)
-{
+define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind {
   %t = load <4 x float>* %p
-  %z = mul <4 x float> %t, %x
+  %z = fmul <4 x float> %t, %x
   ret <4 x float> %z
 }
-define <2 x double> @bar(<2 x double>* %p, <2 x double> %x)
-{
+define <2 x double> @bar(<2 x double>* %p, <2 x double> %x) nounwind {
   %t = load <2 x double>* %p
-  %z = mul <2 x double> %t, %x
+  %z = fmul <2 x double> %t, %x
   ret <2 x double> %z
 }