Make test platform agnostic.
[oota-llvm.git] / test / CodeGen / X86 / 2004-02-12-Memcpy.ll
index 59364c1f6d65305806ac0c81d058d8bb710c2b64..56bb21caf3ca9889dcd4b19b43697c70ef084880 100644 (file)
@@ -1,11 +1,11 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-pc-linux-gnu | grep movs | count 3
+; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-pc-linux-gnu | grep movs | count 1
 
 @A = global [32 x i32] zeroinitializer
 @B = global [32 x i32] zeroinitializer
 
 declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
 
-define void @main() {
+define void @main() nounwind {
   ; dword copy
   call void @llvm.memcpy.i32(i8* bitcast ([32 x i32]* @A to i8*),
                            i8* bitcast ([32 x i32]* @B to i8*),