diff options
author | Dan Gohman <gohman@apple.com> | 2010-11-11 16:24:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-11-11 16:24:49 +0000 |
commit | 6cf9bb45ad228612158a57ff607aff9cc7baa4d2 (patch) | |
tree | 74991e56a48e12c8765cf6338270d7fc2cf870c1 /llvm/test | |
parent | 0cc4c7516e2e5b1feaa9850de03615b6329ef919 (diff) | |
download | bcm5719-llvm-6cf9bb45ad228612158a57ff607aff9cc7baa4d2.tar.gz bcm5719-llvm-6cf9bb45ad228612158a57ff607aff9cc7baa4d2.zip |
Remove the memmove->memcpy optimization from CodeGen. MemCpyOpt does this.
llvm-svn: 118789
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/X86/memmove-0.ll | 9 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/memmove-1.ll | 9 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/memmove-2.ll | 9 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/memmove-3.ll | 9 |
4 files changed, 0 insertions, 36 deletions
diff --git a/llvm/test/CodeGen/X86/memmove-0.ll b/llvm/test/CodeGen/X86/memmove-0.ll deleted file mode 100644 index c1194fae9e9..00000000000 --- a/llvm/test/CodeGen/X86/memmove-0.ll +++ /dev/null @@ -1,9 +0,0 @@ -; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | grep {calll memcpy} - -declare void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 %a) - -define void @foo(i8* noalias %d, i8* noalias %s, i64 %l) -{ - call void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 1) - ret void -} diff --git a/llvm/test/CodeGen/X86/memmove-1.ll b/llvm/test/CodeGen/X86/memmove-1.ll deleted file mode 100644 index 712d55f3e7d..00000000000 --- a/llvm/test/CodeGen/X86/memmove-1.ll +++ /dev/null @@ -1,9 +0,0 @@ -; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | grep {calll memmove} - -declare void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 %a) - -define void @foo(i8* %d, i8* %s, i64 %l) -{ - call void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 1) - ret void -} diff --git a/llvm/test/CodeGen/X86/memmove-2.ll b/llvm/test/CodeGen/X86/memmove-2.ll deleted file mode 100644 index 68a9f4dfb9c..00000000000 --- a/llvm/test/CodeGen/X86/memmove-2.ll +++ /dev/null @@ -1,9 +0,0 @@ -; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | not grep call - -declare void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 %a) - -define void @foo(i8* noalias %d, i8* noalias %s) -{ - call void @llvm.memmove.i64(i8* %d, i8* %s, i64 32, i32 1) - ret void -} diff --git a/llvm/test/CodeGen/X86/memmove-3.ll b/llvm/test/CodeGen/X86/memmove-3.ll deleted file mode 100644 index 99c13c8847b..00000000000 --- a/llvm/test/CodeGen/X86/memmove-3.ll +++ /dev/null @@ -1,9 +0,0 @@ -; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | grep {calll memmove} - -declare void @llvm.memmove.i64(i8* %d, i8* %s, i64 %l, i32 %a) - -define void @foo(i8* %d, i8* %s) -{ - call void @llvm.memmove.i64(i8* %d, i8* %s, i64 32, i32 1) - ret void -} |