diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-22 22:07:31 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-22 22:07:31 +0000 |
commit | 88c0514ec5fed90ecc1354bf39b878a473bd5668 (patch) | |
tree | ab144c8b97b919c32ef76a483e5787505f40fb1a | |
parent | 4d882aae2acc5194b47385c7cb2e0e9ddd202927 (diff) | |
download | external_llvm-88c0514ec5fed90ecc1354bf39b878a473bd5668.zip external_llvm-88c0514ec5fed90ecc1354bf39b878a473bd5668.tar.gz external_llvm-88c0514ec5fed90ecc1354bf39b878a473bd5668.tar.bz2 |
Oops! Fix test I forgot to submit as part of r142735.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142736 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/MemCpyOpt/memcpy.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/MemCpyOpt/memcpy.ll b/test/Transforms/MemCpyOpt/memcpy.ll index dfd9a1e..63d0ebf 100644 --- a/test/Transforms/MemCpyOpt/memcpy.ll +++ b/test/Transforms/MemCpyOpt/memcpy.ll @@ -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) |