blob: ad26cb8915fc4fa37e27e04b83efcc12a447457f [file]
; 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, ptr sret(i32) %out) {
store i32 %a, ptr %out
ret void
}