mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
9 lines
207 B
LLVM
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
|
||
|
}
|