Skip to content

Commit 39691cc

Browse files
fix typo in segment explaination.
Co-authored-by: Valentin Clement (バレンタイン クレメン) <[email protected]>
1 parent b6e65ae commit 39691cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class OpenACCClauseCIREmitter final
156156
// num_gangs({One : i32, Two : i32, Three : i32} [#acc.device_type<nvidia>],\
157157
// {One : i32, Two : i32, Three : i32} [#acc.device_type<radeon>])
158158
//
159-
// When stored in the 'operands' list, the top-level 'segement' for
159+
// When stored in the 'operands' list, the top-level 'segment' for
160160
// 'num_gangs' just shows 6 elements. In order to get the array-like
161161
// apperance, the 'numGangsSegments' list is kept as well. In the above case,
162162
// we've inserted 6 operands, so the 'numGangsSegments' must contain 2

0 commit comments

Comments
 (0)