Update these tests (which use autoupgrade) to run constprop and check
authorChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 18:43:07 +0000 (18:43 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 18:43:07 +0000 (18:43 +0000)
that the file parses.

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

test/Transforms/SimplifyLibCalls/MemCpy.ll
test/Transforms/SimplifyLibCalls/MemMove.ll

index 5e701b41062cb65594619f7a9b2ceedb4f8baf3d..265be73c0e703f83c3a88e3673264b4be0b0ce65 100644 (file)
@@ -1,5 +1,6 @@
 ; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memcpy'
+; RUN: llvm-as < %s | opt -constprop -simplify-libcalls -disable-output &&
+; RUN: llvm-as < %s | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memcpy'
 
 declare sbyte* %llvm.memcpy(sbyte*,sbyte*,int,int)
 %h = constant [2 x sbyte] c"h\00"
index 71ef701176b1464dbacc0db733a414ee66b0fc73..47ed43242c1c46e89f30a3f821785ed87438270c 100644 (file)
@@ -1,5 +1,6 @@
 ; Test that the StrCatOptimizer works correctly
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memmove'
+; RUN: llvm-as < %s | opt -constprop -simplify-libcalls -disable-output &&
+; RUN: llvm-as < %s | opt -constprop -simplify-libcalls | llvm-dis | not grep 'call.*llvm.memmove'
 
 declare sbyte* %llvm.memmove(sbyte*,sbyte*,int,int)
 %h = constant [2 x sbyte] c"h\00"