Skip to content
Commit 1a2bb03e authored by Prateek Gupta's avatar Prateek Gupta
Browse files

[MLIR][LINALG] Add canonicalization pattern in `linalg.generic` op for static shape inference.



This commit adds canonicalization pattern in `linalg.generic` op
for static shape inference. If any of the inputs or outputs have
static shape or is casted from a tensor of static shape, then
shapes of all the inputs and outputs can be inferred by using the
affine map of the static shape input/output.

Signed-Off-By: default avatarPrateek Gupta <prateek@nod-labs.com>

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D118929
parent c1e4e019
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment