; Simple sanity check testcase.  Both alloca's should be eliminated.
; RUN: opt < %s -debugify -mem2reg -check-debugify -S | FileCheck %s

; CHECK-NOT: alloca
; CHECK: CheckModuleDebugify: PASS

define double @testfunc(i32 %i, double %j) {
	%I = alloca i32		; <i32*> [#uses=4]
	%J = alloca double		; <double*> [#uses=2]
	store i32 %i, i32* %I
	store double %j, double* %J
	%t1 = load i32, i32* %I		; <i32> [#uses=1]
	%t2 = add i32 %t1, 1		; <i32> [#uses=1]
	store i32 %t2, i32* %I
	%t3 = load i32, i32* %I		; <i32> [#uses=1]
	%t4 = sitofp i32 %t3 to double		; <double> [#uses=1]
	%t5 = load double, double* %J		; <double> [#uses=1]
	%t6 = fmul double %t4, %t5		; <double> [#uses=1]
	ret double %t6
}


; Simple sanity check testcase.  Both alloca's should be eliminated.
; RUN: opt < %s -debugify -mem2reg -check-debugify -S | FileCheck %s

; CHECK-NOT: alloca
; CHECK: CheckModuleDebugify [{{.*}}]: PASS

define double @testfunc(i32 %i, double %j) {
	%I = alloca i32		; <i32*> [#uses=4]
	%J = alloca double		; <double*> [#uses=2]
	store i32 %i, i32* %I
	store double %j, double* %J
	%t1 = load i32, i32* %I		; <i32> [#uses=1]
	%t2 = add i32 %t1, 1		; <i32> [#uses=1]
	store i32 %t2, i32* %I
	%t3 = load i32, i32* %I		; <i32> [#uses=1]
	%t4 = sitofp i32 %t3 to double		; <double> [#uses=1]
	%t5 = load double, double* %J		; <double> [#uses=1]
	%t6 = fmul double %t4, %t5		; <double> [#uses=1]
	ret double %t6
}


Fix test failing after r332416
[Debugify] Fix test failing after r332416

I missed a test that needed an update.

Failing bot: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/30071

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@332418 91177308-0d34-0410-b5e6-96231b3b80d8
