[mlir] Support operations with multiple results in slicing
authorThomas Raoux <thomasraoux@google.com>
Mon, 13 Jul 2020 20:24:27 +0000 (13:24 -0700)
committerThomas Raoux <thomasraoux@google.com>
Mon, 13 Jul 2020 20:24:27 +0000 (13:24 -0700)
commit2f23270af9bbe87859dc228eca63ccbc8986bebd
treeeadaf8efc5df4e8f9309034a563ff58d799816f1
parent540277d08440048c5f3239ff7bcc95a505142d82
[mlir] Support operations with multiple results in slicing

Right now slicing would assert if an operation with multiple results is in the
slice.

Differential Revision: https://reviews.llvm.org/D83627
mlir/lib/Analysis/SliceAnalysis.cpp
mlir/test/Dialect/Affine/slicing-utils.mlir