This patch replaces some code with matchPattern and move them before the constant folder function in order to avoid redundant invoking.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D124235
[mlir][Arithmetic] Use matchPattern to simplify code. ClosedPublic Authored by jacquesguan on Apr 22 2022, 12:53 AM.
Details Summary This patch replaces some code with matchPattern and move them before the constant folder function in order to avoid redundant invoking.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 22 2022, 12:55 AM This revision was landed with ongoing or failed builds.Apr 22 2022, 1:43 AM Closed by commit rGabc17a675197: [mlir][Arithmetic] Use matchPattern to simplify code. (authored by jacquesguan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 424394 mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
|