diff --git a/test/Regression/CodeGen/X86/loop-hoist.ll b/test/Regression/CodeGen/X86/loop-hoist.ll index 0eb20a52f5e..3ee0cbc4695 100644 --- a/test/Regression/CodeGen/X86/loop-hoist.ll +++ b/test/Regression/CodeGen/X86/loop-hoist.ll @@ -13,7 +13,7 @@ entry: cond_true: ; preds = %cond_true, %entry %indvar = phi uint [ 0, %entry ], [ %indvar.next, %cond_true ] ; [#uses=3] %i.0.0 = cast uint %indvar to int ; [#uses=1] - %tmp = getelementptr [0 x int]* %Arr, int 0, uint %indvar ; [#uses=1] + %tmp = getelementptr [0 x int]* %Arr, int 0, int %i.0.0 store int %i.0.0, int* %tmp %indvar.next = add uint %indvar, 1 ; [#uses=2] %exitcond = seteq uint %indvar.next, %N ; [#uses=1]