mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
13f5c5896d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216022 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
273 B
LLVM
15 lines
273 B
LLVM
; Test return attributes
|
|
; RUN: llvm-as < %s | llvm-dis | grep "define inreg i32"
|
|
; RUN: llvm-as < %s | llvm-dis | grep "call inreg i32"
|
|
; RUN: verify-uselistorder %s
|
|
|
|
define inreg i32 @fn1() {
|
|
ret i32 0
|
|
}
|
|
|
|
define void @fn2() {
|
|
%t = call inreg i32 @fn1()
|
|
ret void
|
|
}
|
|
|