diff options
Diffstat (limited to 'llvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll')
-rw-r--r-- | llvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll b/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll index 458828f17c8..a9104adeb97 100644 --- a/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll +++ b/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll @@ -47,9 +47,9 @@ loop: ; preds = %loop, %entry %iv = phi i64 [ 0, %entry ], [ %inc, %loop ] %r = phi i32 [ 0, %entry ], [ %add, %loop ] %arrayidx = getelementptr inbounds i32, i32* %src, i64 %iv - %src_element = load i32* %arrayidx, align 4 + %src_element = load i32, i32* %arrayidx, align 4 %array_const_idx = getelementptr inbounds [9 x i32], [9 x i32]* @known_constant, i64 0, i64 %iv - %const_array_element = load i32* %array_const_idx, align 4 + %const_array_element = load i32, i32* %array_const_idx, align 4 %mul = mul nsw i32 %src_element, %const_array_element %add = add nsw i32 %mul, %r %inc = add nuw nsw i64 %iv, 1 |