diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-30 06:12:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-30 06:12:15 +0000 |
commit | 4103bb9fc62898ea8c48c510d0c71f13a646ce61 (patch) | |
tree | e26dffad8c9bd7ed5e4166da948ab2b135d02df1 /test | |
parent | 0c58cacb7ac277e0d9433618d002a492a7f51858 (diff) | |
download | llvm-4103bb9fc62898ea8c48c510d0c71f13a646ce61.tar.gz llvm-4103bb9fc62898ea8c48c510d0c71f13a646ce61.tar.bz2 llvm-4103bb9fc62898ea8c48c510d0c71f13a646ce61.tar.xz |
no reason for simplifylibcalls to simplify intrinsics, instcombine does
a fine job.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/SimplifyLibCalls/MemCpy.ll | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Transforms/SimplifyLibCalls/MemCpy.ll b/test/Transforms/SimplifyLibCalls/MemCpy.ll index da3261d2f6..4e33b0755f 100644 --- a/test/Transforms/SimplifyLibCalls/MemCpy.ll +++ b/test/Transforms/SimplifyLibCalls/MemCpy.ll @@ -1,6 +1,4 @@ -; Test that the StrCatOptimizer works correctly -; RUN: llvm-as < %s | opt -constprop -simplify-libcalls | \ -; RUN: llvm-dis | not grep {call.*llvm.memcpy.i32} +; RUN: llvm-as < %s | opt -constprop -instcombine | llvm-dis | not grep {call.*llvm.memcpy.i32} @h = constant [2 x i8] c"h\00" ; <[2 x i8]*> [#uses=1] @hel = constant [4 x i8] c"hel\00" ; <[4 x i8]*> [#uses=1] |