Skip to content

[polly][test] Fix filecheck annotation typos #94211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion polly/test/CodeGen/OpenMP/single_loop.ll
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
; IR-STRIDE4: call void @GOMP_parallel_loop_runtime_start(ptr @single_parallel_loop_polly_subfn, ptr %polly.par.userContext, i32 0, i64 0, i64 1024, i64 4)
; IR-STRIDE4: add nsw i64 %polly.indvar, 3
; IR-STRIDE4: %polly.indvar_next = add nsw i64 %polly.indvar, 4
; IR-STRIDE4 %polly.adjust_ub = sub i64 %polly.par.UBAdjusted, 4
; IR-STRIDE4: %polly.adjust_ub = sub i64 %polly.par.UBAdjusted, 4

; LIBOMP-IR-STATIC-CHUNKED: %struct.ident_t = type { i32, i32, i32, i32, ptr }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadNPMPolly -polly-process-unprofitable -passes=polly-codegen -disable-output < %s
; RUN: opt %loadNPMPolly -polly-process-unprofitable -passes=polly-codegen -S < %s | FileCheck %s
;
; CHECK: store i32 %tmp14_p_scalar_, ptr %tmp14.s2a
; CHECK: %tmp14.final_reload = load i32, ptr %tmp14.s2a
Expand Down
6 changes: 3 additions & 3 deletions polly/test/CodeGen/entry_with_trivial_phi.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; The entry of this scop's simple region (entry.split => for.end) has an trivial
; PHI node. LCSSA may create such PHI nodes. This is a breakdown of this case in
Expand All @@ -11,10 +11,10 @@ entry:
br label %entry.split

; CHECK-LABEL: %polly.split_new_and_old
; CHECK-NEXT: store float %a, ptr %b.phiops
; CHECK-NEXT: store float %a, ptr %b.phiops, align 4

; CHECK-LABEL: polly.stmt.entry.split
; CHECK-NEXT: %b.phiops.reload = load float, ptr %b.phiops
; CHECK-NEXT: %b.phiops.reload = load float, ptr %b.phiops, align 4

entry.split:
%b = phi float [ %a, %entry ]
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inner_scev_sdiv_1.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; Excerpt from the test-suite's oggenc reduced using bugpoint.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/multidim_alias_check.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

; CHECK: %polly.access.sext.A = sext i32 %n to i64
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_loop_carried_float_escape.ll
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

; CHECK-LABEL: polly.stmt.bb1{{[0-9]*}}:
; CHECK-NEXT: %tmp.0.phiops.reload[[R1:[0-9]*]] = load float, ptr %tmp.0.phiops
; CHECK-: store float %tmp.0.phiops.reload[[R1]], ptr %tmp.0.s2a
; CHECK: store float %tmp.0.phiops.reload[[R1]], ptr %tmp.0.s2a

; CHECK-LABEL: polly.stmt.bb4:
; CHECK: %tmp.0.s2a.reload[[R3:[0-9]*]] = load float, ptr %tmp.0.s2a
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/scalar-references-used-in-scop-compute.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; Test the code generation in the presence of a scalar out-of-scop value being
; used from within the SCoP.

; CHECH-LABEL: @scalar-function-argument
; CHECK-LABEL: @scalar-function-argument
; CHECK: polly.split_new_and_old


Expand All @@ -26,7 +26,7 @@ for.end:
ret void
}

; CHECH-LABEL: @scalar-outside-of-scop
; CHECK-LABEL: @scalar-outside-of-scop
; CHECK: polly.split_new_and_old

define void @scalar-outside-of-scop(ptr %A) {
Expand Down
16 changes: 8 additions & 8 deletions polly/test/ScheduleOptimizer/ManualOptimization/unroll_double.ll
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ return:

; CHECK-LABEL: Printing analysis 'Polly - Optimize schedule of SCoP' for region: 'for => return' in function 'func':
; CHECK: domain: "{ Stmt_body[i0] : 0 <= i0 <= 11 }"
; CHECK sequence:
; CHECK: sequence:
; CHECK: - filter: "{ Stmt_body[i0] : 0 <= i0 <= 3 }"
; CHECK sequence:
; CHECK: sequence:
; CHECK: - filter: "{ Stmt_body[0] }"
; CHECK: - filter: "{ Stmt_body[i0] : (-1 + i0) mod 4 = 0 }"
; CHECK: - filter: "{ Stmt_body[i0] : (2 + i0) mod 4 = 0 }"
; CHECK: - filter: "{ Stmt_body[i0] : (1 + i0) mod 4 = 0 }"
; CHECK sequence:
; CHECK: - filter: "{ Stmt_body[i0] : 4 <= i0 <= 7 }"
; CHECK sequence:
; CHECK: - filter: "{ Stmt_body[i0] : 4 <= i0 <= 7 }"
; CHECK: sequence:
; CHECK: sequence:
; CHECK: - filter: "{ Stmt_body[4] }"
; CHECK: - filter: "{ Stmt_body[i0] : (-1 + i0) mod 4 = 0 }"
; CHECK: - filter: "{ Stmt_body[i0] : (2 + i0) mod 4 = 0 }"
; CHECK: - filter: "{ Stmt_body[i0] : (1 + i0) mod 4 = 0 }"
; CHECK sequence:
; CHECK: - filter: "{ Stmt_body[i0] : 8 <= i0 <= 11 }"
; CHECK sequence:
; CHECK: - filter: "{ Stmt_body[i0] : 8 <= i0 <= 11 }"
; CHECK: sequence:
; CHECK: sequence:
; CHECK: - filter: "{ Stmt_body[8] }"
; CHECK: - filter: "{ Stmt_body[i0] : (-1 + i0) mod 4 = 0 }"
; CHECK: - filter: "{ Stmt_body[i0] : (2 + i0) mod 4 = 0 }"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/ScopInfo/aliasing_multiple_alias_groups.ll
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ for.end: ; preds = %for.body
; TBAA-NEXT: {{\[\[}}
; TBAA-DAG: <{ MemRef_Float0[(0)] }, { MemRef_Float0[(1024)] }>
; TBAA-DAG: <{ MemRef_Float1[(0)] }, { MemRef_Float1[(1024)] }>
; TBBA: {{\]\]}}
; TBAA: {{\]\]}}
2 changes: 1 addition & 1 deletion polly/test/ScopInfo/constant_start_integer.ll
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
; }
; }

; CHECK p0: {0,+,256}<%for.cond1.preheader>
; CHECK: p0: {0,+,256}<%for.cond1.preheader>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<stdin>:14:10: note: possible intended match here
p0: {0,+,1}<nuw><nsw><%for.cond1.preheader>

; CHECK-NOT: p1

; CHECK: ReadAccess
Expand Down