Model stacksave and stackrestore as both writing memory, since we
[oota-llvm.git] / test / Transforms / InstCombine / 2003-11-13-ConstExprCastCall.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep call | notcast
2
3 declare void %free(sbyte*)
4
5 void %test(int* %X) {
6         call int (...)* cast (void (sbyte*)* %free to int (...)*)(int * %X)
7         ret void
8 }
9