[mlir][Linalg] Add a test case that consumer has "reduction" loops.
authorHanhan Wang <hanchung@google.com>
Tue, 5 Jan 2021 17:43:53 +0000 (09:43 -0800)
committerHanhan Wang <hanchung@google.com>
Tue, 5 Jan 2021 17:47:07 +0000 (09:47 -0800)
commit30dcbb2a83018da90bac9e52fdbf1b0770e941c2
tree30a7fe428774601459ef1dde9391e1b5226b0ba0
parentf22c0f40b5d657c0293fc9332274c18d3c4f836c
[mlir][Linalg] Add a test case that consumer has "reduction" loops.

In the past, this was a missing test case and the fusion was not supported. It's
supported after the revisit of init_tensor in Linalg.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D94093
mlir/test/Dialect/Linalg/fusion-tensor.mlir