This patch modifies the description in TosaOps.td, taking into account
all the arguments, and supplying examples.
Signed-off-by: Ramkumar Ramachandra <r@artagnon.com>
Differential D139089
mlir/tosa: supply better documentation for tosa.pad artagnon on Dec 1 2022, 2:35 AM. Authored by
Details This patch modifies the description in TosaOps.td, taking into account Signed-off-by: Ramkumar Ramachandra <r@artagnon.com>
Diff Detail
Event TimelineComment Actions Proxying to @eric-k256 as he is in charge of TOSA operation specifics and should validate the description. Comment Actions Thanks for the ping, this got lost in my todo list. I like the updated description of the op, along with the arguments. I have concerns about including the examples with potential lowerings. It would be another area that would fall out of sync with what the real lowerings are. There is nothing that would break the build or otherwise notify someone changing a lowering that this documentation would also need to be updated. It feels safer to leave the definition of the lowering to the conversion documentation as the source of truth for that conversion. We could still leave an example without the lowering as a usage model. |