Skip to content

Commit 486e6f3

Browse files
committed
[LAA] Add comments to tests
1 parent e963f5b commit 486e6f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks-convergent.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
; for (i = 0; i < n; i++)
66
; A[i + 1] = A[i] * B[i] * C[i];
77

8+
; In this case, runtime checks are suggested, and there is a convergent operation.
89
define void @rtchecks_needed(ptr %a, ptr %b, ptr %c) {
910
; CHECK-LABEL: 'rtchecks_needed'
1011
; CHECK-NEXT: for.body:
@@ -76,6 +77,7 @@ for.end: ; preds = %for.body
7677
ret void
7778
}
7879

80+
; In this case, no runtime checks are needed, and there is a convergent operation.
7981
define void @no_rtchecks(ptr noalias %a, ptr noalias %b, ptr noalias %c, ptr noalias %d, ptr noalias %e) {
8082
; CHECK-LABEL: 'no_rtchecks'
8183
; CHECK-NEXT: for.body:

0 commit comments

Comments
 (0)