Changes in directory llvm/test/Transforms/InstCombine:
2007-05-18-CastFoldBug.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+10 -0) 2007-05-18-CastFoldBug.ll | 10 ++++++++++ 1 files changed, 10 insertions(+) Index: llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll diff -c /dev/null llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll:1.1 *** /dev/null Sat May 19 01:50:47 2007 --- llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll Sat May 19 01:50:37 2007 *************** *** 0 **** --- 1,10 ---- + ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | 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* sret )*)( i16* %tmp10 sret ) + ret void + } + + declare i8* @objc_msgSend_stret(i8*, i8*, ...) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits