[mlir][vector] Pattern to clean up vector.extract during distribution
authorThomas Raoux <thomasraoux@google.com>
Thu, 14 Jul 2022 15:34:22 +0000 (15:34 +0000)
committerThomas Raoux <thomasraoux@google.com>
Thu, 14 Jul 2022 17:07:32 +0000 (17:07 +0000)
commitf48ce52c4c2de8dc80e1bdd5caebbdb9f9db00ce
treef4c2d031c8513b93280b13ce68ff705466e134ed
parent0e718443c71ee9501d088e792cf5eb81aec2eda0
[mlir][vector] Pattern to clean up vector.extract during distribution

This prevents blocking propagation when converting between scalar and
vector<1>

Differential Revision: https://reviews.llvm.org/D129782
mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
mlir/test/Dialect/Vector/vector-warp-distribute.mlir