repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
SPARC
/
cast-sret-func.ll
blob
47e5a0aa64f4bb6370610d699cf8937b09c2055a
1
; RUN: llc < %s -march=sparc
2
3
; CHECK: call func
4
; CHECK: st %i0, [%sp+64]
5
; CHECK: unimp 8
6
7
%struct = type { i32, i32 }
8
9
define void @test() nounwind {
10
entry:
11
%tmp = alloca %struct, align 4
12
call void @func
13
(ptr nonnull sret(%struct) %tmp)
14
ret void
15
}
16
17
declare void @func()