You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
273 B

; 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
}