[llvm-commits] [llvm] r142736 - /llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll

Nick Lewycky nicholas at mxc.ca
Sat Oct 22 15:07:31 PDT 2011


Author: nicholas
Date: Sat Oct 22 17:07:31 2011
New Revision: 142736

URL: http://llvm.org/viewvc/llvm-project?rev=142736&view=rev
Log:
Oops! Fix test I forgot to submit as part of r142735.

Modified:
    llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll

Modified: llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll?rev=142736&r1=142735&r2=142736&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll (original)
+++ llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll Sat Oct 22 17:07:31 2011
@@ -136,15 +136,15 @@
 
 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)





More information about the llvm-commits mailing list