[all-commits] [llvm/llvm-project] c9741b: [mlir][complex] Canonicalize complex.sub zero

Kai Sasaki via All-commits all-commits at lists.llvm.org
Wed Nov 9 03:17:23 PST 2022


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

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

  Log Message:
  -----------
  [mlir][complex] Canonicalize complex.sub zero

Subtracting zero constant can be fold in no complex.sub operation.

Reviewed By: pifon2a

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




More information about the All-commits mailing list