[all-commits] [llvm/llvm-project] 57cf68: [mlir][vector] Fix vector.broadcast lowering for s...
Andrzej Warzyński via All-commits
all-commits at lists.llvm.org
Fri Sep 15 08:36:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 57cf6896cd5a48d6978372b9e0fa93fa5381bbba
https://github.com/llvm/llvm-project/commit/57cf6896cd5a48d6978372b9e0fa93fa5381bbba
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorBroadcast.cpp
M mlir/test/Dialect/Vector/vector-broadcast-lowering-transforms.mlir
Log Message:
-----------
[mlir][vector] Fix vector.broadcast lowering for scalable vectors (#66344)
This patch makes sure that the following case is lowered correctly
("duplication"):
```
func.func @broadcast_scalable_duplication(%arg0: vector<[32]xf32>) -> vector<1x[32]xf32> {
%res = vector.broadcast %arg0 : vector<[32]xf32> to vector<1x[32]xf32>
return %res : vector<1x[32]xf32>
}
```
More information about the All-commits
mailing list