I was following the naming style for Arith dialect in
https://reviews.llvm.org/D110200,
i.e. similar to DivSIOp and DivUIOp I defined MaxSIOp, MaxUIOp.
When Arith PR is landed, I will migrate these ops as well.
Paths
| Differential D110540
[mlir] Add min/max operations to Standard. ClosedPublic Authored by pifon2a on Sep 27 2021, 5:47 AM.
Details Summary I was following the naming style for Arith dialect in When Arith PR is landed, I will migrate these ops as well.
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 17 others. · View Herald TranscriptSep 27 2021, 5:47 AM pifon2a marked 7 inline comments as done. Comment ActionsAddressed the comments. Thank you Mehdi and Aart!
Comment Actions Thanks, Alex! LGTM. pifon2a added inline comments.
Comment Actions
I added the tests to ops.mlir. I am not sure what we would test in invalid.mlir, since the ops are just standard binary ops that were tested multiple times. This revision is now accepted and ready to land.Sep 28 2021, 12:39 AM Closed by commit rG9fb57c8c1dd8: [mlir] Add min/max operations to Standard. (authored by pifon2a). · Explain WhySep 28 2021, 12:40 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 375484 mlir/docs/Rationale/Rationale.md
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Dialect/StandardOps/Transforms/ExpandOps.cpp
mlir/test/Dialect/Standard/expand-ops.mlir
mlir/test/Dialect/Standard/ops.mlir
|
Did you keep this paragraph on purpose. The however, reflects back on a now deleted part?