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
This commit is contained in:
Chris Lattner 2008-04-30 06:12:15 +00:00
parent 0c58cacb7a
commit 4103bb9fc6

View 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]