[all-commits] [llvm/llvm-project] 04b449: The fillOp's value needs to casted

Prashant Kumar via All-commits all-commits at lists.llvm.org
Wed Nov 9 19:43:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04b449e147f6be1b466455639055019e508f4137
      https://github.com/llvm/llvm-project/commit/04b449e147f6be1b466455639055019e508f4137
  Author: Prashant Kumar <prashant at nod-labs.com>
  Date:   2022-11-10 (Thu, 10 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
    M mlir/lib/Dialect/Arith/Utils/Utils.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir

  Log Message:
  -----------
  The fillOp's value needs to casted

During elementwise fusion the fillOp's value was directly
referred without casting which can create mismatching dtypes.

Reviewed By: mravishankar, ThomasRaoux

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




More information about the All-commits mailing list