[all-commits] [llvm/llvm-project] ccf975: [mlir][complex] Canonicalization for complex.sub a...

Kai Sasaki via All-commits all-commits at lists.llvm.org
Wed Sep 7 06:06:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccf975059c037ec51ce3b0170105fb2e4fecf2a0
      https://github.com/llvm/llvm-project/commit/ccf975059c037ec51ce3b0170105fb2e4fecf2a0
  Author: Kai Sasaki <lewuathe at gmail.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
    M mlir/lib/Dialect/Complex/IR/ComplexOps.cpp
    M mlir/test/Dialect/Complex/canonicalize.mlir

  Log Message:
  -----------
  [mlir][complex] Canonicalization for complex.sub adding same numbers

Canonicalization for complex.sub adding same numbers. This canonicalization supports the case like complex.sub(complex.add(a, b), b) -> a.

Reviewed By: pifon2a

Differential Revision: https://reviews.llvm.org/D133397




More information about the All-commits mailing list