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