1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll

11 lines
310 B
LLVM
Raw Normal View History

; RUN: opt < %s -instcombine -S | grep "call.*sret"
2007-05-19 08:50:37 +02:00
; Make sure instcombine doesn't drop the sret attribute.
define void @blah(i16* %tmp10) {
entry:
call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend_stret to void (i16*)*)( i16* sret %tmp10 )
2007-05-19 08:50:37 +02:00
ret void
}
declare i8* @objc_msgSend_stret(i8*, i8*, ...)