[all-commits] [llvm/llvm-project] ab85ae: [mlir][arith] Add missing canon pattern `trunci(ex...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Thu Apr 27 08:22:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab85aec1affc92647c195f736d1bac69976baeb8
      https://github.com/llvm/llvm-project/commit/ab85aec1affc92647c195f736d1bac69976baeb8
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-04-27 (Thu, 27 Apr 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
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [mlir][arith] Add missing canon pattern `trunci(ext*i(x)) -> ext*i(x)`

This pattern triggers when only the extension bits are truncated.

Reviewed By: dcaballe

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




More information about the All-commits mailing list