Skip to content

Commit 3dbcd73

Browse files
committed
[flang][NFC] Update comment to be generic
1 parent 7e83a1a commit 3dbcd73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/lib/Lower/DirectivesCommon.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,11 @@ static inline void genOmpAccAtomicUpdateStatement(
202202
[[maybe_unused]] const AtomicListT *leftHandClauseList,
203203
[[maybe_unused]] const AtomicListT *rightHandClauseList,
204204
mlir::Operation *atomicCaptureOp = nullptr) {
205-
// Generate `omp.atomic.update` operation for atomic assignment statements
205+
// Generate `atomic.update` operation for atomic assignment statements
206206
fir::FirOpBuilder &firOpBuilder = converter.getFirOpBuilder();
207207
mlir::Location currentLocation = converter.getCurrentLocation();
208208

209-
// Create the omp.atomic.update Operation
209+
// Create the omp.atomic.update or acc.atmoic.update operation
210210
//
211211
// func.func @_QPsb() {
212212
// %0 = fir.alloca i32 {bindc_name = "a", uniq_name = "_QFsbEa"}

0 commit comments

Comments
 (0)