This has been a long standing cleanup TODO.
Depends On D75968
Paths
| Differential D76019
[mlir][NFC] Move the definition of AffineApplyOp to ODS ClosedPublic Authored by rriddle on Mar 11 2020, 11:45 AM.
Details
Diff Detail
Event Timelinejpienaar marked an inline comment as done. Comment ActionsLooks good, keeping it mostly mechanical is good :)
This revision is now accepted and ready to land.Mar 12 2020, 10:31 AM bondhugula added inline comments. Closed by commit rG7c211cf3af56: [mlir][NFC] Move the definition of AffineApplyOp to ODS (authored by rriddle). · Explain WhyMar 12 2020, 2:40 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 250059 mlir/include/mlir/Dialect/AffineOps/AffineOps.h
mlir/include/mlir/Dialect/AffineOps/AffineOps.td
mlir/lib/Dialect/AffineOps/AffineOps.cpp
mlir/test/Dialect/AffineOps/invalid.mlir
mlir/test/IR/invalid-ops.mlir
|
-> the affine mapping has to be one-dimensional, and so the affine.apply operation always returns one value.
?