[x86] lower calls to fmax and llvm.maxnum.* using maxps/maxpd (PR24475)
[oota-llvm.git] / test / CodeGen / X86 / sse-align-9.ll
index fb4fe9216187df4ac6244d2e18b49b54d3ee8c64..182c91c69d9357c1e8e6d78a3efb20529ed478ae 100644 (file)
@@ -1,12 +1,10 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep movup | wc -l | grep 2
+; RUN: llc < %s -march=x86-64 | grep movup | count 2
 
-define <4 x float> @foo(<4 x float>* %p)
-{
-  %t = load <4 x float>* %p, align 4
+define <4 x float> @foo(<4 x float>* %p) nounwind {
+  %t = load <4 x float>, <4 x float>* %p, align 4
   ret <4 x float> %t
 }
-define <2 x double> @bar(<2 x double>* %p)
-{
-  %t = load <2 x double>* %p, align 8
+define <2 x double> @bar(<2 x double>* %p) nounwind {
+  %t = load <2 x double>, <2 x double>* %p, align 8
   ret <2 x double> %t
 }