blob: 868463ed141c71e3d221307f951518323217d995 [file] [log] [blame]
; RUN: opt < %s -passes=instcombine -S | grep "call.*sret"
; Make sure instcombine doesn't drop the sret attribute.
define void @blah(ptr %tmp10) {
entry:
call void @objc_msgSend_stret(ptr sret(i16) %tmp10)
ret void
}
declare ptr @objc_msgSend_stret(ptr, ptr, ...)