[all-commits] [llvm/llvm-project] abc17a: [mlir][Arithmetic] Use matchPattern to simplify code.
Jianjian Guan via All-commits
all-commits at lists.llvm.org
Fri Apr 22 01:43:09 PDT 2022
Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
Date: 2022-04-22 (Fri, 22 Apr 2022)
[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
More information about the All-commits