1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/SPARC/sret-secondary.ll
2020-11-20 17:58:26 -05:00

9 lines
220 B
LLVM

; RUN: not --crash 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(i32) %out) {
store i32 %a, i32* %out
ret void
}