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
This commit is contained in:
Chris Lattner 2006-03-09 18:43:07 +00:00
parent a758b8250d
commit f083839425
2 changed files with 4 additions and 2 deletions

View 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"

View 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"