1 ; Simple sanity check testcase. Both alloca's should be eliminated.
2 ; RUN: if as < %s | opt -mem2reg | dis | grep 'alloca'
9 double "testfunc"(int %i, double %j)
15 store double %j, double* %J
19 store int %t2, int* %I
22 %t4 = cast int %t3 to double
24 %t6 = mul double %t4, %t5