[all-commits] [llvm/llvm-project] 6a57d8: [mlir][vector] Untangle TransferWriteDistribution ...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Fri Jul 1 00:15:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a57d8fba5b3c319d81eb91afbd02d22ab1c8662
https://github.com/llvm/llvm-project/commit/6a57d8fba5b3c319d81eb91afbd02d22ab1c8662
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2022-07-01 (Fri, 01 Jul 2022)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
M mlir/test/Dialect/Vector/vector-warp-distribute.mlir
Log Message:
-----------
[mlir][vector] Untangle TransferWriteDistribution and avoid crashing in the 0-D case.
This revision avoids a crash in the 0-D case of distributing vector.transfer ops out of
vector.warp_execute_on_lane_0.
Due to the code complexity and lack of documentation, it took untangling the implementation
before realizing that the simple fix was to fail in the 0-D case.
The rewrite is still very useful to understand this code better.
Differential Revision: https://reviews.llvm.org/D128793
More information about the All-commits
mailing list