[all-commits] [llvm/llvm-project] 070d21: [mlir][Linalg] Fix SoftmaxOp's reify result shape ...

Abhishek Varma via All-commits all-commits at lists.llvm.org
Fri Sep 29 10:55:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 070d2114b15e7eefba55516e4689028b6079415f
      https://github.com/llvm/llvm-project/commit/070d2114b15e7eefba55516e4689028b6079415f
  Author: Abhishek Varma <avarma094 at gmail.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/resolve-shaped-type-result-dims.mlir

  Log Message:
  -----------
  [mlir][Linalg] Fix SoftmaxOp's reify result shape calculation (#67790)

-- SoftmaxOp's `reifyResultShapes` function was wrongly casting it as a
`LinalgOp`.
-- This commit thus adds a fix to SoftmaxOp's reify result shape
calculation.

Signed-off-by: Abhishek Varma <abhishek at nod-labs.com>




More information about the All-commits mailing list