CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / sse-align-10.ll
index 6f2ffc495fa372b0cf2997430f366ce9671ec4fc..81bf55354cd2b5e7e3110d1ad63ae7454e9b152f 100644 (file)
@@ -1,7 +1,6 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep movups | wc -l | grep 1
+; RUN: llc < %s -march=x86-64 | grep movups | count 1
 
-define <2 x i64> @bar(<2 x i64>* %p)
-{
-  %t = load <2 x i64>* %p, align 8
+define <2 x i64> @bar(<2 x i64>* %p) nounwind {
+  %t = load <2 x i64>, <2 x i64>* %p, align 8
   ret <2 x i64> %t
 }