This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Draft: Fix shape inference of tosa elementwise binary ops
Needs ReviewPublic

Authored by mamrami on Jun 30 2023, 7:36 AM.

Details

Reviewers
nicolasvasilache

Diff Detail

Event Timeline

mamrami created this revision.Jun 30 2023, 7:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2023, 7:36 AM
mamrami requested review of this revision.Jun 30 2023, 7:36 AM
mamrami added inline comments.Jun 30 2023, 7:41 AM
mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
992

this function does not cover all changes needed. It is an expanded version of isCompatibleReturnTypes used in this file, with this additional check.

mgehre-amd added inline comments.Jul 4 2023, 12:27 AM
mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
992

Can you explain the rational for the checks in this function? What is the goal here?