HomePhabricator

[mlir][sparse] support new kind of scalar in sparse linalg generic op

Authored by aartbik on Jun 15 2021, 3:56 PM.

Description

[mlir][sparse] support new kind of scalar in sparse linalg generic op

We have several ways of introducing a scalar invariant value into
linalg generic ops (should we limit this somewhat?). This revision
makes sure we handle all of them correctly in the sparse compiler.

Reviewed By: gysit

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