Mercurial > hg > CbC > CbC_llvm
diff polly/test/Support/dumpfunction.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/Support/dumpfunction.ll Wed Nov 09 17:47:54 2022 +0900 +++ b/polly/test/Support/dumpfunction.ll Fri Aug 18 09:04:13 2023 +0900 @@ -1,9 +1,9 @@ ; New pass manager -; RUN: opt %loadNPMPolly -enable-new-pm=1 -O3 -polly -polly-position=before-vectorizer -polly-dump-before --disable-output %s +; RUN: opt %loadNPMPolly -O3 -polly -polly-position=before-vectorizer -polly-dump-before --disable-output %s ; RUN: FileCheck --input-file=dumpfunction-callee-before.ll --check-prefix=CHECK --check-prefix=CALLEE %s ; RUN: FileCheck --input-file=dumpfunction-caller-before.ll --check-prefix=CHECK --check-prefix=CALLER %s ; -; RUN: opt %loadNPMPolly -enable-new-pm=1 -O3 -polly -polly-position=before-vectorizer -polly-dump-after --disable-output %s +; RUN: opt %loadNPMPolly -O3 -polly -polly-position=before-vectorizer -polly-dump-after --disable-output %s ; RUN: FileCheck --input-file=dumpfunction-callee-after.ll --check-prefix=CHECK --check-prefix=CALLEE %s ; RUN: FileCheck --input-file=dumpfunction-caller-after.ll --check-prefix=CHECK --check-prefix=CALLER %s @@ -20,9 +20,7 @@ %unrelated_type = type { i32 } -@callee_alias = dso_local unnamed_addr alias void(i32, double*, i32), void(i32, double*, i32 )* @callee - -define internal void @callee(i32 %n, double* noalias nonnull %A, i32 %i) #0 { +define internal void @callee(i32 %n, ptr noalias nonnull %A, i32 %i) #0 { entry: br label %for @@ -33,8 +31,8 @@ body: %idx = add i32 %i, %j - %arrayidx = getelementptr inbounds double, double* %A, i32 %idx - store double 42.0, double* %arrayidx + %arrayidx = getelementptr inbounds double, ptr %A, i32 %idx + store double 42.0, ptr %arrayidx br label %inc inc: @@ -49,7 +47,7 @@ } -define void @caller(i32 %n, double* noalias nonnull %A) #0 { +define void @caller(i32 %n, ptr noalias nonnull %A) #0 { entry: br label %for @@ -59,7 +57,7 @@ br i1 %i.cmp, label %body, label %exit body: - call void @callee(i32 %n, double* %A, i32 %i) + call void @callee(i32 %n, ptr %A, i32 %i) br label %inc inc: