aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/memmove-3.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-11-11 16:24:49 +0000
committerDan Gohman <gohman@apple.com>2010-11-11 16:24:49 +0000
commit8e8c477357cdb5ec953ef2b28b5f0882809751b5 (patch)
treed32f53ed23608726dc372527174dea5ae869ae83 /test/CodeGen/X86/memmove-3.ll
parent03cf96c27f6609debf42560efa35bfa7602dbc70 (diff)
downloadexternal_llvm-8e8c477357cdb5ec953ef2b28b5f0882809751b5.zip
external_llvm-8e8c477357cdb5ec953ef2b28b5f0882809751b5.tar.gz
external_llvm-8e8c477357cdb5ec953ef2b28b5f0882809751b5.tar.bz2
Remove the memmove->memcpy optimization from CodeGen. MemCpyOpt does this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/memmove-3.ll')
-rw-r--r--test/CodeGen/X86/memmove-3.ll9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/CodeGen/X86/memmove-3.ll b/test/CodeGen/X86/memmove-3.ll
deleted file mode 100644
index 99c13c8..0000000
--- a/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
-}