================ @@ -1785,6 +1850,21 @@ def OpenACC_DataOp : OpenACC_Op<"data", /// Return the wait devnum value clause for the given device_type if /// present. mlir::Value getWaitDevnum(mlir::acc::DeviceType deviceType); + /// Add an entry to the 'async-only' attribute (clause spelled without + /// arguments)for each of the additional device types (or a none if it is + /// empty). + void addAsyncOnly(MLIRContext *, llvm::ArrayRef<DeviceType>); + /// Add a value to the 'async' with the current list of device types. + void addAsyncOperand(MLIRContext *, mlir::Value, + llvm::ArrayRef<DeviceType>); + /// Add an entry to the 'wait-only' attribute (clause spelled without + /// arguments)for each of the additional device types (or a none if it is ---------------- andykaylor wrote:
```suggestion /// arguments) for each of the additional device types (or a none if it is ``` https://github.com/llvm/llvm-project/pull/137396 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits