[llvm-commits] [llvm] r50470 - /llvm/trunk/test/Transforms/SimplifyLibCalls/MemCpy.ll
Chris Lattner
sabre at nondot.org
Tue Apr 29 23:12:16 PDT 2008
Author: lattner
Date: Wed Apr 30 01:12:15 2008
New Revision: 50470
URL: http://llvm.org/viewvc/llvm-project?rev=50470&view=rev
Log:
no reason for simplifylibcalls to simplify intrinsics, instcombine does
a fine job.
Modified:
llvm/trunk/test/Transforms/SimplifyLibCalls/MemCpy.ll
Modified: llvm/trunk/test/Transforms/SimplifyLibCalls/MemCpy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyLibCalls/MemCpy.ll?rev=50470&r1=50469&r2=50470&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyLibCalls/MemCpy.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyLibCalls/MemCpy.ll Wed Apr 30 01:12:15 2008
@@ -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]
More information about the llvm-commits
mailing list