summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/X86/alignment-2.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/alignment-2.ll b/test/CodeGen/X86/alignment-2.ll
index 835cf6275b..cc709b52d9 100644
--- a/test/CodeGen/X86/alignment-2.ll
+++ b/test/CodeGen/X86/alignment-2.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple i386-apple-darwin10 | not grep movaps
+; RUN: llc < %s -mtriple i386-apple-darwin10 | FileCheck %s
; <rdar://problem/10058036>
%struct._psqlSettings = type { %struct.pg_conn*, i32, %struct.__sFILE*, i8, %struct.printQueryOpt, i8*, i8, i32, %struct.__sFILE*, i8, i32, i8*, i8*, i8*, i64, i8, %struct.__sFILE*, %struct._variable*, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i8*, i8*, i8*, i32 }
@@ -17,6 +17,8 @@
define signext i8 @do_lo_list() nounwind optsize ssp {
bb:
+; CHECK: do_lo_list
+; CHECK-NOT: movaps
%myopt = alloca %struct.printQueryOpt, align 4
%tmp = bitcast %struct.printQueryOpt* %myopt to i8*
call void @llvm.memcpy.p0i8.p0i8.i32(i8* %tmp, i8* bitcast (%struct.printQueryOpt* getelementptr inbounds (%struct._psqlSettings* @pset, i32 0, i32 4) to i8*), i32 76, i32 4, i1 false)