Remove redundant operands and fold if only one left.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Dialect/Shape/IR/Shape.cpp | ||
|---|---|---|
| 395 | Unless this is convention, I would remove the "Canonicalization" part of the name. nothing about this is limited to canonicalizations. | |
| 813–814 | return BoolAttr::get(getContext(), true); | |
| 816 | nullptr? | |
| mlir/test/Dialect/Shape/canonicalize.mlir | ||
| 1116 | add a : or this isn't actually testing that anything was removed I believe. | |
Unless this is convention, I would remove the "Canonicalization" part of the name. nothing about this is limited to canonicalizations.