[mlir][arith] Add canon pattern for chained `arith.muli`
authorJakub Kuderski <kubak@google.com>
Fri, 21 Jul 2023 22:17:39 +0000 (18:17 -0400)
committerJakub Kuderski <kubak@google.com>
Fri, 21 Jul 2023 22:20:31 +0000 (18:20 -0400)
commiteaa4bc655709520f752e81890e5154775e66d539
treea321ceceab9f111ee73c511295961f1453cf15c1
parent51e49e12e7cbbd195b4a97c55860858d9eddce58
[mlir][arith] Add canon pattern for chained `arith.muli`

@benvanik reported this as missing.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D155907
mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
mlir/lib/Dialect/Arith/IR/ArithOps.cpp
mlir/test/Dialect/Arith/canonicalize.mlir