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

Nick Lewycky nicholas at mxc.ca
Sun Oct 16 13:20:15 PDT 2011


Author: nicholas
Date: Sun Oct 16 15:20:15 2011
New Revision: 142151

URL: http://llvm.org/viewvc/llvm-project?rev=142151&view=rev
Log:
Oops! Fix testcase.

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=142151&r1=142150&r2=142151&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll (original)
+++ llvm/trunk/test/Transforms/MemCpyOpt/memcpy.ll Sun Oct 16 15:20:15 2011
@@ -139,11 +139,11 @@
   %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* %D, i8* getelementptr
+; 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: tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %D, i8* getelementptr
+; CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %D, i8* getelementptr
   ret void
 }
 





More information about the llvm-commits mailing list