Sign in
cobalt
/
cobalt
/
bf4fe390b81028497c53296ce92f8c4193be685a
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
CodeGen
/
SPARC
/
sret-secondary.ll
blob: 4efcabfc6fb3d77a5e0d20a3bc57c039456043be [
file
] [
log
] [
blame
]
; RUN: not llc -march=sparc < %s -o /dev/null 2>&1 | FileCheck %s
; CHECK: sparc only supports sret on the first parameter
define
void
@foo
(
i32
%a
,
i32
*
sret
%out
)
{
store
i32
%a
,
i32
*
%out
ret
void
}