Skip to content

Commit

Permalink
[flang][NFC] Update comment to be generic
Browse files Browse the repository at this point in the history
  • Loading branch information
clementval committed Oct 25, 2023
1 parent 7e83a1a commit 3dbcd73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flang/lib/Lower/DirectivesCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ static inline void genOmpAccAtomicUpdateStatement(
[[maybe_unused]] const AtomicListT *leftHandClauseList,
[[maybe_unused]] const AtomicListT *rightHandClauseList,
mlir::Operation *atomicCaptureOp = nullptr) {
// Generate `omp.atomic.update` operation for atomic assignment statements
// Generate `atomic.update` operation for atomic assignment statements
fir::FirOpBuilder &firOpBuilder = converter.getFirOpBuilder();
mlir::Location currentLocation = converter.getCurrentLocation();

// Create the omp.atomic.update Operation
// Create the omp.atomic.update or acc.atmoic.update operation
//
// func.func @_QPsb() {
// %0 = fir.alloca i32 {bindc_name = "a", uniq_name = "_QFsbEa"}
Expand Down

0 comments on commit 3dbcd73

Please sign in to comment.