CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / sse-align-3.ll
index 5bbcd59e0e9f93f3c6569826995bb22dc7f83cb9..b6b0471e913f40c0861e6cea4f4a75335fcb6412 100644 (file)
@@ -1,4 +1,9 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep movap | count 2
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; CHECK-NOT:     movapd
+; CHECK:     movaps
+; CHECK-NOT:     movapd
+; CHECK:     movaps
+; CHECK-NOT:     movap
 
 define void @foo(<4 x float>* %p, <4 x float> %x) nounwind {
   store <4 x float> %x, <4 x float>* %p