[mlir] Change scf::LoopNest to store 'results'.
authorChristian Sigg <csigg@google.com>
Tue, 15 Nov 2022 13:19:35 +0000 (14:19 +0100)
committerChristian Sigg <csigg@google.com>
Thu, 1 Dec 2022 05:51:45 +0000 (06:51 +0100)
commitbe065c41d83a93411b320677b5727734de549246
tree64d21541627a8e19e57649701eb921987444d725
parent89f36dd8f32f85bfaf19dfa2cbb12d6622727bfb
[mlir] Change scf::LoopNest to store 'results'.

This fixes the case where scf::LoopNest::loops is empty.

Change LoopVector and ValueVector to SmallVector.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D136926
mlir/include/mlir/Dialect/SCF/IR/SCF.h
mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
mlir/lib/Dialect/SCF/IR/SCF.cpp
mlir/test/lib/Dialect/Tensor/TestTensorTransforms.cpp