File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ OpenACCAtomicConstruct::getAssociatedStmtInfo() const {
347347 case OpenACCAtomicKind::None:
348348 case OpenACCAtomicKind::Update:
349349 case OpenACCAtomicKind::Capture:
350- assert (false && " Only 'read'/'write' has been implemented here" );
350+ assert (false && " Only 'read'/'write' have been implemented here" );
351351 return {};
352352 case OpenACCAtomicKind::Read: {
353353 // Read only supports the format 'v = x'; where both sides are a scalar
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ CIRGenFunction::emitOpenACCCacheConstruct(const OpenACCCacheConstruct &s) {
307307mlir::LogicalResult
308308CIRGenFunction::emitOpenACCAtomicConstruct (const OpenACCAtomicConstruct &s) {
309309 // For now, we are only support 'read'/'write', so diagnose. We can switch on
310- // the kind later once we start implementing the other 3 forms. While we
310+ // the kind later once we start implementing the other 2 forms. While we
311311 if (s.getAtomicKind () != OpenACCAtomicKind::Read &&
312312 s.getAtomicKind () != OpenACCAtomicKind::Write) {
313313 cgm.errorNYI (s.getSourceRange (), " OpenACC Atomic Construct" );
You can’t perform that action at this time.
0 commit comments