Given a select that returns the logical negation of the condition, replace it with a not of the condition.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D104966
[MLIR] Simplify select to a not ClosedPublic Authored by wsmoses on Jun 25 2021, 8:25 PM.
Details Summary Given a select that returns the logical negation of the condition, replace it with a not of the condition.
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, teijeong and 14 others. · View Herald TranscriptJun 25 2021, 8:25 PM This revision is now accepted and ready to land.Jun 28 2021, 12:43 AM Closed by commit rG35c0ab72fc20: [MLIR] Simplify select to a not (authored by wsmoses). · Explain WhyJun 28 2021, 8:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 354901 mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/test/Dialect/Standard/canonicalize.mlir
|