[mlir][Arithmetic] Use matchPattern to simplify code.
This patch replaces some code with matchPattern and move them before the constant folder function in order to avoid redundant invoking. Differential Revision: https://reviews.llvm.org/D124235
parent
091c2f95
Please register or sign in to comment