9 lines · plain
1; RUN: not --crash llc -mtriple=sparc < %s -o /dev/null 2>&1 | FileCheck %s2 3; CHECK: sparc only supports sret on the first parameter4 5define void @foo(i32 %a, ptr sret(i32) %out) {6 store i32 %a, ptr %out7 ret void8}9 1; RUN: not --crash llc -mtriple=sparc < %s -o /dev/null 2>&1 | FileCheck %s2 3; CHECK: sparc only supports sret on the first parameter4 5define void @foo(i32 %a, ptr sret(i32) %out) {6 store i32 %a, ptr %out7 ret void8}9