Mercurial > hg > CbC > CbC_llvm
diff polly/test/DependenceInfo/reduction_complex_location.ll @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | c4bab56944e8 |
children |
line wrap: on
line diff
--- a/polly/test/DependenceInfo/reduction_complex_location.ll Wed Nov 09 17:47:54 2022 +0900 +++ b/polly/test/DependenceInfo/reduction_complex_location.ll Fri Aug 18 09:04:13 2023 +0900 @@ -18,7 +18,7 @@ ; } target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64" -define void @f(i32* %sum) { +define void @f(ptr %sum) { entry: br label %for.cond @@ -39,10 +39,10 @@ %mul = mul nsw i32 %j.0, %i.0 %mul4 = shl nsw i32 %j.0, 1 %add = add nsw i32 %i.0, %mul4 - %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %add - %tmp = load i32, i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, ptr %sum, i32 %add + %tmp = load i32, ptr %arrayidx, align 4 %add5 = add nsw i32 %tmp, %mul - store i32 %add5, i32* %arrayidx, align 4 + store i32 %add5, ptr %arrayidx, align 4 br label %for.inc for.inc: ; preds = %for.body3