We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
populateSinkVectorBroadcastPatterns
1 parent 9db316c commit c81968fCopy full SHA for c81968f
mlir/test/Dialect/Vector/sink-vector-broadcast.mlir
@@ -13,7 +13,8 @@
13
func.func @broadcast_scalar_with_bcast(%arg1: index, %arg2: index) -> vector<1x4xindex> {
14
%0 = vector.broadcast %arg1 : index to vector<1x4xindex>
15
%1 = vector.broadcast %arg2 : index to vector<1x4xindex>
16
- %2 = arith.addi %0, %1 : vector<1x4xindex> return %2 : vector<1x4xindex>
+ %2 = arith.addi %0, %1 : vector<1x4xindex>
17
+ return %2 : vector<1x4xindex>
18
}
19
20
// CHECK-LABEL: func.func @broadcast_scalar_with_bcast_scalable(
0 commit comments