no reason for simplifylibcalls to simplify intrinsics, instcombine does
authorChris Lattner <sabre@nondot.org>
Wed, 30 Apr 2008 06:12:15 +0000 (06:12 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 30 Apr 2008 06:12:15 +0000 (06:12 +0000)
a fine job.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50470 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SimplifyLibCalls/MemCpy.ll

index da3261d2f6947a3542bb70c8ea4e97e93a8c34e0..4e33b0755f94ed0095a065be5242220ddeacca73 100644 (file)
@@ -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]