diff options
Diffstat (limited to 'test/Transforms/IndVarSimplify/widen-nsw.ll')
-rw-r--r-- | test/Transforms/IndVarSimplify/widen-nsw.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/IndVarSimplify/widen-nsw.ll b/test/Transforms/IndVarSimplify/widen-nsw.ll index 56c3c0d..8dbbb51 100644 --- a/test/Transforms/IndVarSimplify/widen-nsw.ll +++ b/test/Transforms/IndVarSimplify/widen-nsw.ll @@ -16,8 +16,8 @@ for.cond: ; preds = %for.body, %entry for.body: ; preds = %for.cond %idxprom = sext i32 %i.0 to i64 - %arrayidx = getelementptr inbounds i32* %a, i64 %idxprom - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %a, i64 %idxprom + %0 = load i32, i32* %arrayidx, align 4 %add = add nsw i32 %sum.0, %0 %inc = add nsw i32 %i.0, 1 br label %for.cond |