Add attributes for the async, wait and self clauses. These clauses can be present without
values. When this is the case they are modelled with an attribute instead of operands.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td | ||
---|---|---|
97 | Unit attributes give extra semantics to the operation by their mere presence, there is no point in explicitly marking them optional as they can be omitted in any case. Also, all other names in this op use camelCase rather than snake_case. |
Comment Actions
Remove optional from attr since it makes no sense. Switch from snake_case to camelCase.
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td | ||
---|---|---|
97 | Sure, I should have think twice before sending the patch :-) I pushed a new version. |
Unit attributes give extra semantics to the operation by their mere presence, there is no point in explicitly marking them optional as they can be omitted in any case.
Also, all other names in this op use camelCase rather than snake_case.