[all-commits] [llvm/llvm-project] 9b3288: [mlir][Arithmetic] Use common constant fold functi...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Fri Apr 22 02:20:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b32886e7e705bb28aab57682e612375075a0ad7
      https://github.com/llvm/llvm-project/commit/9b32886e7e705bb28aab57682e612375075a0ad7
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

  Changed paths:
    M mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
    M mlir/test/Dialect/Arithmetic/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Arithmetic] Use common constant fold function in RemSI and RemUI to cover splat.

This patch replaces current fold function with the common constant fold funtion in order to cover the situation of constant splat.

Reviewed By: ftynse

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




More information about the All-commits mailing list