Values in bounds are expected to have integer or index types. Enforce
this expectation by restricting the type to be IntOrIndex.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D148839
[mlir][openacc] Restrict types for acc.bounds operands to index or integer type ClosedPublic Authored by clementval on Apr 20 2023, 1:41 PM.
Details Summary Values in bounds are expected to have integer or index types. Enforce
Diff Detail
Event Timelineclementval added a child revision: D148840: [flang][openacc] Support array section with non constant bounds.Apr 20 2023, 1:43 PM clementval removed a child revision: D148840: [flang][openacc] Support array section with non constant bounds. This revision is now accepted and ready to land.Apr 20 2023, 1:49 PM Closed by commit rGed35b584daed: [mlir][openacc] Restrict types for acc.bounds operands to index or integer type (authored by clementval). · Explain WhyApr 20 2023, 2:44 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 515495 mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/test/Dialect/OpenACC/invalid.mlir
|