blob: 84ac0b943c931a245c30c90c8f2d0474e09300ab [file] [log] [blame]
; 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
}