Closed MaheshRavishankar closed 1 week ago
For a linalg.generic -> tensor.extract_slice pattern where the producer has a single use, this is always good to do.
linalg.generic
tensor.extract_slice
TODO: This pattern could be generalized for any LinalgOp, but not done now because of the rank-reduction slices need to fold the unit dimensions.
LinalgOp
Fixes #19173
For a
linalg.generic
->tensor.extract_slice
pattern where the producer has a single use, this is always good to do.TODO: This pattern could be generalized for any
LinalgOp
, but not done now because of the rank-reduction slices need to fold the unit dimensions.Fixes #19173