OSDN Git Service

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 5e701b4..265be73 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 71ef701..47ed432 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"