[all-commits] [llvm/llvm-project] 942b40: [mlir] Fix casting of leading unit dims for vector...
tyb0807 via All-commits
all-commits at lists.llvm.org
Fri Mar 31 05:12:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 942b403ff1a412778c9fb97bd53b44e35b544b0e
https://github.com/llvm/llvm-project/commit/942b403ff1a412778c9fb97bd53b44e35b544b0e
Author: tyb0807 <vuson at google.com>
Date: 2023-03-31 (Fri, 31 Mar 2023)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
M mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir
Log Message:
-----------
[mlir] Fix casting of leading unit dims for vector.insert
When dropping leading unit dims of vector.insert's operands and creating
a new vector.insert, its new position rank should be computed explicitly
in two steps: first based on the numbers of leading unit dims dropped
from the vector.insert's destination, then based on the numbers of
leading unit dims dropped from its source.
Reviewed By: pifon2a
Differential Revision: https://reviews.llvm.org/D147280
More information about the All-commits
mailing list