summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyLibCalls
diff options
context:
space:
mode:
authorMeador Inge <meadori@codesourcery.com>2012-11-11 06:22:40 +0000
committerMeador Inge <meadori@codesourcery.com>2012-11-11 06:22:40 +0000
commit9cf328b526ae875054f273ccbf7f4c478277a62e (patch)
tree6932f431a029e1b1e2386ce49348944596d85e13 /llvm/test/Transforms/SimplifyLibCalls
parentdd9234a10ae55a473757d4e2bd5d0351986a2516 (diff)
downloadbcm5719-llvm-9cf328b526ae875054f273ccbf7f4c478277a62e.tar.gz
bcm5719-llvm-9cf328b526ae875054f273ccbf7f4c478277a62e.zip
instcombine: Migrate memmove optimizations
This patch migrates the memmove optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 167687
Diffstat (limited to 'llvm/test/Transforms/SimplifyLibCalls')
-rw-r--r--llvm/test/Transforms/SimplifyLibCalls/memmove.ll12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/test/Transforms/SimplifyLibCalls/memmove.ll b/llvm/test/Transforms/SimplifyLibCalls/memmove.ll
deleted file mode 100644
index 5aaeeeb024f..00000000000
--- a/llvm/test/Transforms/SimplifyLibCalls/memmove.ll
+++ /dev/null
@@ -1,12 +0,0 @@
-; RUN: opt < %s -simplify-libcalls -S | grep "llvm.memmove"
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
-target triple = "i686-pc-linux-gnu"
-
-define i8* @test(i8* %a, i8* %b, i32 %x) {
-entry:
- %call = call i8* @memmove(i8* %a, i8* %b, i32 %x )
- ret i8* %call
-}
-
-declare i8* @memmove(i8*,i8*,i32)
-
OpenPOWER on IntegriCloud