HomePhabricator

[mlir][linalg] Allow TC ops taking an unused shaped operand.

Authored by hanchung on Feb 26 2021, 6:45 AM.

Description

[mlir][linalg] Allow TC ops taking an unused shaped operand.

If one operand is not used in the formula, it will be considered a
shaped operand. And the result of indexing map of the operand will be the first
reduction dims.

Depends On D97383

Reviewed By: nicolasvasilache

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

Details