llvm-project/llvm/test/CodeGen/SPARC/sret-secondary.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
215 B
LLVM
Raw Normal View History

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