[all-commits] [llvm/llvm-project] 6dbc6d: Reland "[mlir][arith] Canonicalization patterns fo...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Fri Oct 13 12:16:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dbc6dfe79b33a3bb18cb9fff16d3392597707b8
      https://github.com/llvm/llvm-project/commit/6dbc6dfe79b33a3bb18cb9fff16d3392597707b8
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/test/Dialect/Arith/canonicalize.mlir

  Log Message:
  -----------
  Reland "[mlir][arith] Canonicalization patterns for `arith.select` (#67809)" (#68941)

This cherry-picks the changes in
llvm-project/5bf701a6687a46fd898621f5077959ff202d716b and extends the
pattern to handle vector types.

To reuse `getBoolAttribute` method, it moves the static method above the
include of generated file.




More information about the All-commits mailing list