mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Invert this test, because it is wrong if we allow
readonly functions to use byval parameters as local storage (how much do we want this?). llvm-svn: 46399
This commit is contained in:
parent
7b83688c73
commit
9fae964ef7
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep {llvm.memcpy}
|
||||
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep {llvm.memcpy}
|
||||
|
||||
; Inlining a byval struct should NOT cause an explicit copy
|
||||
; into an alloca if the function is readonly
|
||||
; Inlining a byval struct should cause an explicit copy
|
||||
; into an alloca even if the function is readonly
|
||||
|
||||
%struct.ss = type { i32, i64 }
|
||||
@.str = internal constant [10 x i8] c"%d, %lld\0A\00" ; <[10 x i8]*> [#uses=1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user