[all-commits] [llvm/llvm-project] 33017e: [mlir][arith] Add narrowing pattern to commute ext...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Fri Apr 28 13:19:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33017e5a3fa2c3194522565cd0e106a931b072b3
      https://github.com/llvm/llvm-project/commit/33017e5a3fa2c3194522565cd0e106a931b072b3
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M mlir/lib/Dialect/Arith/Transforms/IntNarrowing.cpp
    M mlir/test/Dialect/Arith/int-narrowing.mlir

  Log Message:
  -----------
  [mlir][arith] Add narrowing pattern to commute extension over insertion

This enabled more optimization opportunities by moving
zero/sign-extension closer to the use.

Reviewed By: antiagainst

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




More information about the All-commits mailing list