While lowering min/max pooling ops to loops, generate the right kind of
load/stores (std or affine) instead of always generating std
load/stores.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/Transforms/Loops.cpp | ||
---|---|---|
33 | Open to suggestions on the best place to move these to. |
mlir/lib/Dialect/Linalg/Transforms/Loops.cpp | ||
---|---|---|
33 | Hmm, I would think that IndexedTy would somehow have the correct included. Would something like IndexedValueTy output(op.output()); IndexedValueTy input(op.input()); Value lhs = output(indices.outputs); Value rhs = input(indices.inputs); //... output(indices.outputs) = maxValue; inside the function just work? |
Open to suggestions on the best place to move these to.