You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
220 B

; 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
}