mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
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:
parent
a758b8250d
commit
f083839425
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user