Oops! Fix test I forgot to submit as part of r142735.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 22 Oct 2011 22:07:31 +0000 (22:07 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 22 Oct 2011 22:07:31 +0000 (22:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142736 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/MemCpyOpt/memcpy.ll

index dfd9a1e41542d42180289bacd43a0448bcec269b..63d0ebf5c13773e522eaa7e0a5777a868c472606 100644 (file)
@@ -136,15 +136,15 @@ declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32,
 
 define void @test8() {
 ; CHECK: test8
+; CHECK-NOT: memcpy
   %A = tail call i8* @malloc(i32 10)
   %B = getelementptr inbounds i8* %A, i64 2
   tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %B, i8* getelementptr inbounds ([7 x i8]* @test8.str, i64 0, i64 0), i32 7, i32 1, i1 false)
-; CHECK: tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %B, i8* getelementptr
   %C = tail call i8* @malloc(i32 10)
   %D = getelementptr inbounds i8* %C, i64 2
   tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %D, i8* %B, i32 7, i32 1, i1 false)
-; CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %D, i8* getelementptr
   ret void
+; CHECK: ret void
 }
 
 declare noalias i8* @malloc(i32)