brintos

brintos / llvm-project-archived public Read only

0
0
Text · 269 B · 868463e Raw
11 lines · plain
1; RUN: opt < %s -passes=instcombine -S | grep "call.*sret"2; Make sure instcombine doesn't drop the sret attribute.3 4define void @blah(ptr %tmp10) {5entry:6	call void @objc_msgSend_stret(ptr sret(i16) %tmp10)7	ret void8}9 10declare ptr @objc_msgSend_stret(ptr, ptr, ...)11