Skip to content

Commit 9da103a

Browse files
committed
[LAA] Update remaining tests after 384a5b0.
1 parent 384a5b0 commit 9da103a

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

llvm/test/Analysis/LoopAccessAnalysis/different-strides-safe-dep-due-to-backedge-taken-count.ll

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,12 @@ exit:
106106
ret void
107107
}
108108

109-
define void @unknown_dep_not_known_safe_due_to_backedge_taken_count(ptr %A) {
110-
; CHECK-LABEL: 'unknown_dep_not_known_safe_due_to_backedge_taken_count'
109+
define void @backward_dep_known_distance_less_than_btc(ptr %A) {
110+
; CHECK-LABEL: 'backward_dep_known_distance_less_than_btc'
111111
; CHECK-NEXT: loop:
112-
; CHECK-NEXT: Report: unsafe dependent memory operations in loop. Use #pragma clang loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
113-
; CHECK-NEXT: Unknown data dependence.
112+
; CHECK-NEXT: Memory dependences are safe with a maximum safe vector width of 8160 bits
114113
; CHECK-NEXT: Dependences:
115-
; CHECK-NEXT: Unknown:
114+
; CHECK-NEXT: BackwardVectorizable:
116115
; CHECK-NEXT: %l = load i32, ptr %gep, align 4 ->
117116
; CHECK-NEXT: store i32 %add, ptr %gep.mul.2, align 4
118117
; CHECK-EMPTY:

llvm/test/Analysis/LoopAccessAnalysis/non-constant-strides-backward.ll

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ exit:
4545
define void @different_non_constant_strides_known_backward_distance_larger_than_trip_count(ptr %A) {
4646
; CHECK-LABEL: 'different_non_constant_strides_known_backward_distance_larger_than_trip_count'
4747
; CHECK-NEXT: loop:
48-
; CHECK-NEXT: Report: unsafe dependent memory operations in loop. Use #pragma clang loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
49-
; CHECK-NEXT: Unknown data dependence.
48+
; CHECK-NEXT: Memory dependences are safe with a maximum safe vector width of 4096 bits
5049
; CHECK-NEXT: Dependences:
51-
; CHECK-NEXT: Unknown:
50+
; CHECK-NEXT: BackwardVectorizable:
5251
; CHECK-NEXT: %l = load i32, ptr %gep, align 4 ->
5352
; CHECK-NEXT: store i32 %add, ptr %gep.mul.2, align 4
5453
; CHECK-EMPTY:
@@ -83,10 +82,9 @@ exit:
8382
define void @different_non_constant_strides_known_backward_min_distance_16(ptr %A) {
8483
; CHECK-LABEL: 'different_non_constant_strides_known_backward_min_distance_16'
8584
; CHECK-NEXT: loop:
86-
; CHECK-NEXT: Report: unsafe dependent memory operations in loop. Use #pragma clang loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
87-
; CHECK-NEXT: Unknown data dependence.
85+
; CHECK-NEXT: Memory dependences are safe with a maximum safe vector width of 64 bits
8886
; CHECK-NEXT: Dependences:
89-
; CHECK-NEXT: Unknown:
87+
; CHECK-NEXT: BackwardVectorizable:
9088
; CHECK-NEXT: %l = load i32, ptr %gep, align 4 ->
9189
; CHECK-NEXT: store i32 %add, ptr %gep.mul.2, align 4
9290
; CHECK-EMPTY:

0 commit comments

Comments
 (0)