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