diff --git a/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll b/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll index da22cf2e516..d70e6049797 100644 --- a/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll +++ b/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll @@ -9,7 +9,8 @@ define i32 @test() { Loop: ; preds = %Loop, %0 %NonIndvar = phi i32 [ 200, %0 ], [ %NonIndvarNext, %Loop ] ; [#uses=1] - %Canonical = phi i32 [ 0, %0 ], [ %CanonicalNext, %Loop ] ; [#uses=1] + %Canonical = phi i32 [ 0, %0 ], [ %CanonicalNext, %Loop ] ; [#uses=2] + store i32 %Canonical, i32* null %NonIndvarNext = sdiv i32 %NonIndvar, 2 ; [#uses=1] %CanonicalNext = add i32 %Canonical, 1 ; [#uses=1] br label %Loop