diff options
Diffstat (limited to 'test/Analysis/BlockFrequencyInfo/basic.ll')
-rw-r--r-- | test/Analysis/BlockFrequencyInfo/basic.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/BlockFrequencyInfo/basic.ll b/test/Analysis/BlockFrequencyInfo/basic.ll index 1c24176..728adf0 100644 --- a/test/Analysis/BlockFrequencyInfo/basic.ll +++ b/test/Analysis/BlockFrequencyInfo/basic.ll @@ -12,8 +12,8 @@ entry: body: %iv = phi i32 [ 0, %entry ], [ %next, %body ] %base = phi i32 [ 0, %entry ], [ %sum, %body ] - %arrayidx = getelementptr inbounds i32* %a, i32 %iv - %0 = load i32* %arrayidx + %arrayidx = getelementptr inbounds i32, i32* %a, i32 %iv + %0 = load i32, i32* %arrayidx %sum = add nsw i32 %0, %base %next = add i32 %iv, 1 %exitcond = icmp eq i32 %next, %i |