Changes in directory llvm/test/Regression/Transforms/SimplifyLibCalls:
MemCpy.ll updated: 1.1 -> 1.2 MemMove.ll updated: 1.1 -> 1.2 --- Log message: Update these tests (which use autoupgrade) to run constprop and check that the file parses. --- Diffs of the changes: (+4 -2) MemCpy.ll | 3 ++- MemMove.ll | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) Index: llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll diff -u llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll:1.1 llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll:1.2 --- llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll:1.1 Tue Apr 26 02:40:40 2005 +++ llvm/test/Regression/Transforms/SimplifyLibCalls/MemCpy.ll Thu Mar 9 12:43:07 2006 @@ -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: llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll diff -u llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll:1.1 llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll:1.2 --- llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll:1.1 Tue Apr 26 14:05:51 2005 +++ llvm/test/Regression/Transforms/SimplifyLibCalls/MemMove.ll Thu Mar 9 12:43:07 2006 @@ -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" _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits