X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FLoopIdiom%2Fnon-canonical-loop.ll;h=77c818f834ecfc587e6f322bfc32bc7bb470540b;hb=8ce527d38a6f14fe579861161fe2bc62652852ee;hp=a6a4f9227f9a4e97ad858d642292848ace5ff2a8;hpb=28aff84ceb2fcf0e4b05ed95b81e46fcd4cd373f;p=oota-llvm.git diff --git a/test/Transforms/LoopIdiom/non-canonical-loop.ll b/test/Transforms/LoopIdiom/non-canonical-loop.ll index a6a4f9227f9..77c818f834e 100644 --- a/test/Transforms/LoopIdiom/non-canonical-loop.ll +++ b/test/Transforms/LoopIdiom/non-canonical-loop.ll @@ -20,7 +20,7 @@ start.exit: ; preds = %entry for.bodyprime: ; preds = %for.bodyprime, %start.exit %i.057375 = phi i32 [ 0, %start.exit ], [ %1, %for.bodyprime ] - %arrayidx8prime = getelementptr inbounds i32* %currMB, i32 %i.057375 + %arrayidx8prime = getelementptr inbounds i32, i32* %currMB, i32 %i.057375 store i32 0, i32* %arrayidx8prime, align 4 %1 = add i32 %i.057375, 1 %cmp5prime = icmp slt i32 %1, 4