[flang-commits] [flang] 3dbcd73 - [flang][NFC] Update comment to be generic
Valentin Clement via flang-commits
flang-commits at lists.llvm.org
Wed Oct 25 13:58:41 PDT 2023
Author: Valentin Clement
Date: 2023-10-25T13:58:24-07:00
New Revision: 3dbcd733ad594f0da9a442899bce2758ae7ed76d
URL: https://github.com/llvm/llvm-project/commit/3dbcd733ad594f0da9a442899bce2758ae7ed76d
DIFF: https://github.com/llvm/llvm-project/commit/3dbcd733ad594f0da9a442899bce2758ae7ed76d.diff
LOG: [flang][NFC] Update comment to be generic
Added:
Modified:
flang/lib/Lower/DirectivesCommon.h
Removed:
################################################################################
diff --git a/flang/lib/Lower/DirectivesCommon.h b/flang/lib/Lower/DirectivesCommon.h
index 558fa8931f630ee..656fd36099b51ff 100644
--- a/flang/lib/Lower/DirectivesCommon.h
+++ b/flang/lib/Lower/DirectivesCommon.h
@@ -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"}
More information about the flang-commits
mailing list