aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-09 18:43:07 +0000
committerChris Lattner <sabre@nondot.org>2006-03-09 18:43:07 +0000
commitf08383942557d61578bbeafca6b3fb93cc810c0e (patch)
treee2f72f4ae43e06de96aac7178714fef02b69ba30 /test
parenta758b8250d43902b32df9b16aa161622a7f1ef23 (diff)
downloadexternal_llvm-f08383942557d61578bbeafca6b3fb93cc810c0e.zip
external_llvm-f08383942557d61578bbeafca6b3fb93cc810c0e.tar.gz
external_llvm-f08383942557d61578bbeafca6b3fb93cc810c0e.tar.bz2
Update these tests (which use autoupgrade) to run constprop and check
that the file parses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/SimplifyLibCalls/MemCpy.ll3
-rw-r--r--test/Transforms/SimplifyLibCalls/MemMove.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/SimplifyLibCalls/MemCpy.ll b/test/Transforms/SimplifyLibCalls/MemCpy.ll
index 5e701b4..265be73 100644
--- a/test/Transforms/SimplifyLibCalls/MemCpy.ll
+++ b/test/Transforms/SimplifyLibCalls/MemCpy.ll
@@ -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"
diff --git a/test/Transforms/SimplifyLibCalls/MemMove.ll b/test/Transforms/SimplifyLibCalls/MemMove.ll
index 71ef701..47ed432 100644
--- a/test/Transforms/SimplifyLibCalls/MemMove.ll
+++ b/test/Transforms/SimplifyLibCalls/MemMove.ll
@@ -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"