Mercurial > hg > CbC > CbC_llvm
view test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; RUN: opt < %s -instcombine -S | grep "call.*sret" ; 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 ) ret void } declare i8* @objc_msgSend_stret(i8*, i8*, ...)