Skip to content

Commit 96dd374

Browse files
committed
Address review comments
1 parent 0f2ac45 commit 96dd374

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llvm/test/Transforms/LoopInterchange/profitability-vectorization-heuristic.ll

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
; }
1616
; }
1717
;
18-
; FIXME: These loops are not exchanged at this time due to the problem of
19-
; profitablity heuristic for vectorization.
18+
; FIXME: These loops are not exchanged at this time due to the problem in
19+
; profitability heuristic calculation for vectorization.
2020

2121
; CHECK: --- !Missed
2222
; CHECK-NEXT: Pass: loop-interchange
2323
; CHECK-NEXT: Name: InterchangeNotProfitable
24-
; CHECK-NEXT: Function: interchange_necesasry_for_vectorization
24+
; CHECK-NEXT: Function: interchange_necessary_for_vectorization
2525
; CHECK-NEXT: Args:
2626
; CHECK-NEXT: - String: Interchanging loops is not considered to improve cache locality nor vectorization.
2727
; CHECK-NEXT: ...
28-
define void @interchange_necesasry_for_vectorization() {
28+
define void @interchange_necessary_for_vectorization() {
2929
entry:
3030
br label %for.i.header
3131

@@ -61,14 +61,14 @@ exit:
6161
}
6262

6363
; Check that the following innermost loop can be vectorized so that
64-
; interchangig is unnecessary.
64+
; interchanging is unnecessary.
6565
;
6666
; for (int i = 0; i < 256; i++)
6767
; for (int j = 1; j < 256; j++)
6868
; A[i][j-1] = A[i][j] + B[i][j];
6969
;
70-
; FIXME: These loops are exchanged at this time due to the problem of
71-
; profitablity heuristic for vectorization.
70+
; FIXME: These loops are exchanged at this time due to the problem in
71+
; profitability heuristic calculation for vectorization.
7272

7373
; CHECK: --- !Passed
7474
; CHECK-NEXT: Pass: loop-interchange

0 commit comments

Comments
 (0)