teak-llvm/llvm/test/CodeGen/SPARC/sret-secondary.ll
Yuanfang Chen 6e24c6037f Revert "[Support] make report_fatal_error abort instead of exit"
This reverts commit 647c3f4e47.

Got bots failure from sanitizer-windows and maybe others.
2020-01-15 17:52:25 -08:00

9 lines
207 B
LLVM

; RUN: not 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
}