mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
4bf7d5872e
Upgrade of the IR text tests should be the only thing blocking making typed byval mandatory. Partially done through regex and partially manual.
12 lines
207 B
LLVM
12 lines
207 B
LLVM
; RUN: llvm-as < %s | llvm-dis | grep byval
|
|
; RUN: verify-uselistorder %s
|
|
|
|
%struct = type { }
|
|
|
|
declare void @foo(...)
|
|
|
|
define void @bar() {
|
|
call void (...) @foo(%struct* byval(%struct) null )
|
|
ret void
|
|
}
|