[all-commits] [llvm/llvm-project] 516884: [MLIR] Fix FloorDivSIOpConverter that was failing ...

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Oct 21 14:42:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 516884f58b46a60d0aa499e19d792c39f2478aa4
      https://github.com/llvm/llvm-project/commit/516884f58b46a60d0aa499e19d792c39f2478aa4
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Arithmetic/Transforms/ExpandOps.cpp
    M mlir/test/Dialect/Arithmetic/expand-ops.mlir

  Log Message:
  -----------
  [MLIR] Fix FloorDivSIOpConverter that was failing for index type after the arithmetic op refactor

ConstantOp should be used instead of ConstantIntOp to be able to support index type.

Reviewed By: Mogball

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




More information about the All-commits mailing list